Commit 2546b383 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix Bug 21663 - [Shapes] Ошибка в консоли и некорректная вставка автофигур типа "lines"

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51677 954022d7-b5bf-4e40-9824-e11837661b57
parent d25bb4ce
......@@ -1387,6 +1387,13 @@
_onMouseDblClick: function (event) {
var t = this;
var coord = t._getCoordinates(event);
var graphicsInfo = t.handlers.trigger("getGraphicsInfo", coord.x, coord.y);
if ( asc["editor"].isStartAddShape || (graphicsInfo && graphicsInfo.isGraphicObject) ) {
event.ClickCount = 2;
t.handlers.trigger("graphicObjectMouseDown", event, coord.x, coord.y);
return;
}
if (this.handlers.trigger("isGlobalLockEditCell"))
return 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