The function called when a comment is added to the document with the AddComment method.
Name | Type | Description |
comment | comment | Defines the comment object containing the comment data. |
window.Asc.plugin.event_onAddComment = function(comment) { Comments.push(comment); $('#scrollable-container-id').append(makeComment(comment.Id, comment)); };