mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 05:50:50 +08:00
Send event object to plugins when open context menu
This commit is contained in:
@ -497,7 +497,7 @@ define([
|
||||
}, 10);
|
||||
|
||||
me.documentHolder.currentMenu = menu;
|
||||
me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow();
|
||||
me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow(event);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -255,7 +255,7 @@ define([
|
||||
}, 10);
|
||||
|
||||
me.documentHolder.currentMenu = menu;
|
||||
me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow();
|
||||
me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow(event);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -506,7 +506,7 @@ define([
|
||||
}, 10);
|
||||
|
||||
me.documentHolder.currentMenu = menu;
|
||||
me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow();
|
||||
me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow(event);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -3174,7 +3174,7 @@ define([
|
||||
|
||||
menu.show();
|
||||
me.currentMenu = menu;
|
||||
(type!==Asc.c_oAscContextMenuTypes.changeSeries) && me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow();
|
||||
(type!==Asc.c_oAscContextMenuTypes.changeSeries) && me.api.onPluginContextMenuShow && me.api.onPluginContextMenuShow(event);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user