Commit 212958e4 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix #19565

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48651 954022d7-b5bf-4e40-9824-e11837661b57
parent 22ad3c87
...@@ -1128,6 +1128,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1128,6 +1128,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
"drawSelection": function () {t._onDrawSelection.apply(t, arguments);}, "drawSelection": function () {t._onDrawSelection.apply(t, arguments);},
"showDrawingObjects": function () {t._onShowDrawingObjects.apply(t, arguments);}, "showDrawingObjects": function () {t._onShowDrawingObjects.apply(t, arguments);},
"showComments": function () {t._onShowComments.apply(t, arguments);}, "showComments": function () {t._onShowComments.apply(t, arguments);},
"unlockComments": function () {t._onUnlockComments.apply(t);},
"cleanSelection": function () {t._onCleanSelection.apply(t, arguments);}, "cleanSelection": function () {t._onCleanSelection.apply(t, arguments);},
"resetDrawingObject": function () {t._onResetDrawingObject.apply(t, arguments);} "resetDrawingObject": function () {t._onResetDrawingObject.apply(t, arguments);}
}); });
...@@ -1394,6 +1395,13 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1394,6 +1395,13 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb.getWorksheet().cellCommentator.drawCommentCells(); this.wb.getWorksheet().cellCommentator.drawCommentCells();
} }
}, },
_onUnlockComments: function () {
if (this.wb) {
var ws = this.wb.getWorksheet();
ws.cellCommentator.unlockComments();
}
},
_onUpdateSheetsLock: function (lockElem) { _onUpdateSheetsLock: function (lockElem) {
var t = this; var t = this;
......
...@@ -260,8 +260,9 @@ ...@@ -260,8 +260,9 @@
// Перерисовываем // Перерисовываем
if (bCheckRedraw) { if (bCheckRedraw) {
this.handlers.trigger("drawSelection"); this.handlers.trigger("drawSelection");
this.handlers.trigger("showDrawingObjects"); this.handlers.trigger("unlockComments");
this.handlers.trigger("showComments"); this.handlers.trigger("showComments");
this.handlers.trigger("showDrawingObjects");
} }
}, },
......
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