From 9403710f5661b42ac37b8bd71ee6c8035f831ddf Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 1 Aug 2016 12:33:30 +0300 Subject: [PATCH] Debug resizing plugins panel. --- apps/common/main/lib/controller/Plugins.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 || {}));