Class ecm.widget.AddCommentPane
Extends
dijit._WidgetBase.
Provides a pane that is used to add comments to a document.
Defined in: <ecm\widget\AddNotelogPane.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
Add a comment to the item set in this pane with the text added to the input box.
|
|
onAddComment(response)
This event is called after the comment is added.
|
|
setItem(item)
Sets an item to the pane
|
Method Detail
addComment()
Add a comment to the item set in this pane with the text added to the input box.
onAddComment(response)
This event is called after the comment is added.
- Parameters:
- response
- A JSON object containing the saved comment and an array of all comments of the item
setItem(item)
Sets an item to the pane
- Parameters:
- item
- A document ecm.model.ContentItem.