diff --git a/apps/common/main/lib/controller/Plugins.js b/apps/common/main/lib/controller/Plugins.js index 8edf884cf..258d5437f 100644 --- a/apps/common/main/lib/controller/Plugins.js +++ b/apps/common/main/lib/controller/Plugins.js @@ -266,12 +266,12 @@ define([ this.api.asc_pluginButtonClick(-1); }, - onPluginMouseUp: function(e) { - Common.NotificationCenter.trigger('frame:mouseup', e); + onPluginMouseUp: function(x, y) { + Common.NotificationCenter.trigger('frame:mouseup', jQuery.Event("mouseup", { pageX: x, pageY: y } )); }, - onPluginMouseMove: function(e) { - Common.NotificationCenter.trigger('frame:mousemove', e); + onPluginMouseMove: function(x, y) { + Common.NotificationCenter.trigger('frame:mousemove', jQuery.Event("mousemove", { pageX: x, pageY: y } )); } }, Common.Controllers.Plugins || {}));