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