Commit cabe685a authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

При отключении эвентов при редактировании ячейки скрываем или показываем курсор.

Баг http://bugzserver/show_bug.cgi?id=26127 и http://bugzserver/show_bug.cgi?id=26226


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58403 954022d7-b5bf-4e40-9824-e11837661b57
parent 07841b63
......@@ -571,7 +571,11 @@
/** @param flag {Boolean} */
CellEditor.prototype.enableKeyEventsHandler = function (flag) {
var oldValue = this.enableKeyEvents;
this.enableKeyEvents = !!flag;
if (this.isOpened && oldValue !== this.enableKeyEvents) {
this.enableKeyEvents ? this.showCursor() : this._hideCursor();
}
};
CellEditor.prototype.isFormula = function() {
......
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