mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-02-10 18:05:06 +08:00
Handle reject button
This commit is contained in:
@ -274,6 +274,11 @@
|
||||
{
|
||||
window.Asc.plugin.sendToPlugin("onAccept");
|
||||
});
|
||||
|
||||
document.getElementById('rejectBtn').addEventListener('click', function ()
|
||||
{
|
||||
window.Asc.plugin.sendToPlugin("onReject");
|
||||
});
|
||||
|
||||
window.Asc.plugin.init = function() {
|
||||
window.Asc.plugin.sendToPlugin("onWindowReady", {});
|
||||
|
||||
Reference in New Issue
Block a user