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

Убрал непонятный таймер. Он просто постоянно вызывался и все.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67682 954022d7-b5bf-4e40-9824-e11837661b57
parent da55706d
...@@ -145,9 +145,7 @@ ...@@ -145,9 +145,7 @@
this.defaults = { this.defaults = {
padding: -1, selectColor: new CColor(190, 190, 255, 0.5), padding: -1, selectColor: new CColor(190, 190, 255, 0.5),
canvasZIndex: 500, blinkInterval: 500, cursorShape: "text", canvasZIndex: 500, blinkInterval: 500, cursorShape: "text"
selectionTimeout: 20
}; };
this.dontUpdateText = false; this.dontUpdateText = false;
...@@ -1706,11 +1704,6 @@ ...@@ -1706,11 +1704,6 @@
if (pos !== undefined) { if (pos !== undefined) {
pos >= 0 ? t._selectChars(kPosition, pos) : t._selectChars(pos); pos >= 0 ? t._selectChars(kPosition, pos) : t._selectChars(pos);
} }
if (c_oAscCellEditorSelectState.no !== t.isSelectMode && !window['IS_NATIVE_EDITOR']) {
t.selectionTimer = window.setTimeout(function() {
doChangeSelection(coord);
}, t.defaults.selectionTimeout);
}
} }
if (!window['IS_NATIVE_EDITOR']) { if (!window['IS_NATIVE_EDITOR']) {
......
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