Commit 9271a595 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил баг http://bugzserver/show_bug.cgi?id=26598

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58405 954022d7-b5bf-4e40-9824-e11837661b57
parent fe186f3c
......@@ -1064,11 +1064,6 @@
/** @param event {MouseEvent} */
asc_CEventsController.prototype._onWindowMouseUp = function (event) {
if (2 === event.button) {
this.handlers.trigger('onContextMenu', event);
return true;
}
var coord = this._getCoordinates(event);
this.isMousePressed = false;
......@@ -1320,6 +1315,11 @@
/** @param event {MouseEvent} */
asc_CEventsController.prototype._onMouseUp = function (event) {
if (2 === event.button) {
this.handlers.trigger('onContextMenu', event);
return true;
}
// Shapes
var coord = this._getCoordinates(event);
event.isLocked = this.isMousePressed = false;
......
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