Commit 4bd2b49b 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@55328 954022d7-b5bf-4e40-9824-e11837661b57
parent 832f50fd
...@@ -1848,6 +1848,9 @@ var gUndoInsDelCellsFlag = true; ...@@ -1848,6 +1848,9 @@ var gUndoInsDelCellsFlag = true;
{ {
if(aWs.AutoFilter && aWs.AutoFilter.Ref == cloneData.Ref) if(aWs.AutoFilter && aWs.AutoFilter.Ref == cloneData.Ref)
{ {
if(aWs.AutoFilter.result)
this._addButtonAF({result: aWs.AutoFilter.result, isVis: false});
delete aWs.AutoFilter; delete aWs.AutoFilter;
} }
else if(aWs.TableParts) else if(aWs.TableParts)
...@@ -1857,6 +1860,10 @@ var gUndoInsDelCellsFlag = true; ...@@ -1857,6 +1860,10 @@ var gUndoInsDelCellsFlag = true;
if(cloneData.Ref == aWs.TableParts[l].Ref) if(cloneData.Ref == aWs.TableParts[l].Ref)
{ {
this._cleanStyleTable(aWs, cloneData.Ref); this._cleanStyleTable(aWs, cloneData.Ref);
if(aWs.TableParts[l].result)
this._addButtonAF({result: aWs.TableParts[l].result, isVis: false});
aWs.TableParts.splice(l,1); aWs.TableParts.splice(l,1);
} }
} }
......
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