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

http://bugzserver/show_bug.cgi?id=27480 - Ошибка в консоли при клике на кнопку...

http://bugzserver/show_bug.cgi?id=27480 - Ошибка в консоли при клике на кнопку автофильтра форматированной таблицы после Undo и применения Insert Cells

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59577 954022d7-b5bf-4e40-9824-e11837661b57
parent a75bb598
......@@ -2030,6 +2030,9 @@ var gUndoInsDelCellsFlag = true;
{
if(aWs.AutoFilter && cloneData.newFilterRef && cloneData.newFilterRef.isEqual(aWs.AutoFilter.Ref))
{
if(aWs.AutoFilter.result)
this._addButtonAF({result: aWs.AutoFilter.result,isVis: false});
aWs.AutoFilter = cloneData.oldFilter;
this._addButtonAF({result: cloneData.oldFilter.result,isVis: true});
}
......@@ -2039,7 +2042,11 @@ var gUndoInsDelCellsFlag = true;
{
if(cloneData.newFilterRef && cloneData.newFilterRef.isEqual(aWs.TableParts[l].Ref))
{
if(aWs.TableParts[l].AutoFilter != null)
this._addButtonAF({result: aWs.TableParts[l].result,isVis: false});
aWs.TableParts[l] = cloneData.oldFilter;
if(aWs.TableParts[l].AutoFilter != null)
this._addButtonAF({result: cloneData.oldFilter.result,isVis: true});
......
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