Commit 2bf87a39 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

корректировал undo после удаления форматированной таблицы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51287 954022d7-b5bf-4e40-9824-e11837661b57
parent 35fb7b65
......@@ -8151,7 +8151,13 @@
if (range.addCellsShiftRight()) {
fullRecalc = true;
if(isCheckChangeAutoFilter == 'changeAutoFilter')
t.autoFilters.insertColumn(prop, _updateRangeIns, arn);
{
if(gUndoInsDelCellsFlag == true)
t.autoFilters.insertColumn(prop, _updateRangeIns, arn);
else if(gUndoInsDelCellsFlag && typeof gUndoInsDelCellsFlag == "object" && gUndoInsDelCellsFlag.arg1 && gUndoInsDelCellsFlag.arg2 && gUndoInsDelCellsFlag.data)
t.autoFilters._setColorStyleTable(gUndoInsDelCellsFlag.arg1, gUndoInsDelCellsFlag.arg2, gUndoInsDelCellsFlag.data, null, true);
gUndoInsDelCellsFlag = true;
}
t.cellCommentator.updateCommentsDependencies(true, val, _updateRangeIns);
t.objectRender.updateDrawingObject(true, val, _updateRangeIns);
}
......@@ -8171,7 +8177,13 @@
if (range.addCellsShiftBottom()) {
fullRecalc = true;
if(isCheckChangeAutoFilter == 'changeAutoFilter')
t.autoFilters.insertRows(prop,_updateRangeIns, _updateRangeIns);
{
if(gUndoInsDelCellsFlag == true)
t.autoFilters.insertRows(prop,_updateRangeIns, _updateRangeIns);
else if(gUndoInsDelCellsFlag && typeof gUndoInsDelCellsFlag == "object" && gUndoInsDelCellsFlag.arg1 && gUndoInsDelCellsFlag.arg2 && gUndoInsDelCellsFlag.data)
t.autoFilters._setColorStyleTable(gUndoInsDelCellsFlag.arg1, gUndoInsDelCellsFlag.arg2, gUndoInsDelCellsFlag.data, null, true);
gUndoInsDelCellsFlag = true;
}
t.cellCommentator.updateCommentsDependencies(true, val, _updateRangeIns);
t.objectRender.updateDrawingObject(true, val, _updateRangeIns);
}
......
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