mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: new comments
This commit is contained in:
@ -132,13 +132,13 @@
|
||||
docEditor.setMailMergeRecipients(<%- JSON.stringify(dataMailMergeRecipients) %>); // insert recipient data for mail merge into the file
|
||||
};
|
||||
|
||||
var onRequestUsers = function () {
|
||||
docEditor.setUsers({
|
||||
var onRequestUsers = function () { // add mentions for not anonymous users
|
||||
docEditor.setUsers({ // set a list of users to mention in the comments
|
||||
"users": <%- JSON.stringify(usersForMentions) %>
|
||||
});
|
||||
};
|
||||
|
||||
var onRequestSendNotify = function(event) {
|
||||
var onRequestSendNotify = function(event) { // the user is mentioned in a comment
|
||||
var actionLink = JSON.stringify(event.data.actionLink);
|
||||
console.log("onRequestSendNotify:");
|
||||
console.log(event.data);
|
||||
|
||||
Reference in New Issue
Block a user