Commit 51b2f784 authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Fix Bug 34272.

parent 785a1d7e
......@@ -521,7 +521,8 @@
var data = {
type: evt.type,
x: evt.x - r.left,
y: evt.y - r.top
y: evt.y - r.top,
event: evt
};
_sendCommand({
......
......@@ -363,7 +363,7 @@ define([
var editor = document.getElementById('editor_sdk');
if (editor) {
var rect = editor.getBoundingClientRect();
var event = window.event || arguments.callee.caller.arguments[0];
var event = data.event || {};
this.api.asc_onMouseUp(event, data.x - rect.left, data.y - rect.top);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment