Commit 4390511e authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete not used turnOffHistory

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58796 954022d7-b5bf-4e40-9824-e11837661b57
parent 9f5495c4
......@@ -5666,27 +5666,20 @@ var gUndoInsDelCellsFlag = true;
},
// ToDo - от _reDrawFilters в будущем стоит избавиться, ведь она проставляет стили ячейкам, а это не нужно делать (сменить отрисовку)
_reDrawFilters: function(turnOffHistory, isNUpdate)
_reDrawFilters: function(isNUpdate)
{
if(turnOffHistory)
History.TurnOff();
var ws = this.worksheet;
var aWs = this._getCurrentWS();
if(aWs.TableParts && aWs.TableParts.length > 0)
{
for(var tP = 0; tP < aWs.TableParts.length; tP++)
{
//var ref = aWs.TableParts[tP].Ref.split(':');
var ref = aWs.TableParts[tP].Ref;
this._setColorStyleTable(ref, aWs.TableParts[tP])
this._setColorStyleTable(ref, aWs.TableParts[tP]);
}
}
if(!isNUpdate)
ws._updateCellsRange(ws.visibleRange, /*canChangeColWidth*/ c_oAscCanChangeColWidth.none);
if(turnOffHistory)
History.TurnOn();
},
_sortArrayMinMax: function(elements)
......@@ -6660,7 +6653,7 @@ var gUndoInsDelCellsFlag = true;
this._cleanStyleTable(aWs, arnFrom);
this._reDrawFilters(null, true);
this._reDrawFilters(true);
}
else
{
......
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