using innerAlert in onRequestSendNotify

This commit is contained in:
Oleg Sinizin
2021-11-15 11:47:31 +03:00
parent 70836bb67d
commit 9bab8edc3c
7 changed files with 21 additions and 30 deletions

View File

@ -149,12 +149,9 @@
});
};
config.events['onRequestSendNotify'] = function (event) {
var actionLink = JSON.stringify(event.data.actionLink);
var replaceLink =replaceActionLink(location.href, actionLink);
docEditor.setActionLink(replaceLink);
console.log("onRequestSendNotify:");
console.log(event.data);
console.log("Link to comment: " + replaceLink);
event.data.actionLink = replaceActionLink(location.href, event.data.actionLink);
var data = JSON.stringify(event.data);
innerAlert("onRequestSendNotify: " + data);
};
}