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

Вызываю функцию для замены по timeout (чтобы закончилась обработка callback)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48426 954022d7-b5bf-4e40-9824-e11837661b57
parent 25f0f260
...@@ -8679,7 +8679,7 @@ ...@@ -8679,7 +8679,7 @@
_replaceCellText: function (aReplaceCells, valueForSearching, options) { _replaceCellText: function (aReplaceCells, valueForSearching, options) {
var t = this; var t = this;
if (options.indexInArray === aReplaceCells.length) { if (options.indexInArray >= aReplaceCells.length) {
History.EndTransaction(); History.EndTransaction();
t.model.onEndTriggerAction(); t.model.onEndTriggerAction();
...@@ -8717,7 +8717,7 @@ ...@@ -8717,7 +8717,7 @@
} }
} }
t._replaceCellText(aReplaceCells, valueForSearching, options); window.setTimeout(function () {t._replaceCellText(aReplaceCells, valueForSearching, options)}, 1);
}; };
this._isLockedCells (aReplaceCells[options.indexInArray], /*subType*/null, onReplaceCallback); this._isLockedCells (aReplaceCells[options.indexInArray], /*subType*/null, onReplaceCallback);
......
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