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

@ -472,10 +472,9 @@
};
// the user is mentioned in a comment
config.events['onRequestSendNotify'] = function (event) {
var actionLink = JSON.stringify(event.data.actionLink);
console.log("onRequestSendNotify:");
console.log(event.data);
console.log("Link to comment: " + replaceActionLink(location.href, actionLink));
event.data.actionLink = replaceActionLink(location.href, event.data.actionLink);
var data = JSON.stringify(event.data);
innerAlert("onRequestSendNotify: " + data);
};
<?php endif; ?>