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

http://bugzserver/show_bug.cgi?id=26484 - [Drag&Drop] При скрытии значений...

http://bugzserver/show_bug.cgi?id=26484 - [Drag&Drop] При скрытии значений автофильтра и последующем его переносе строки остаются скрыты

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60458 954022d7-b5bf-4e40-9824-e11837661b57
parent 136ca8a9
...@@ -6868,6 +6868,7 @@ var gUndoInsDelCellsFlag = true; ...@@ -6868,6 +6868,7 @@ var gUndoInsDelCellsFlag = true;
if(findFilters[i].AutoFilter) if(findFilters[i].AutoFilter)
findFilters[i].AutoFilter.Ref = newRange; findFilters[i].AutoFilter.Ref = newRange;
isUpdate = false;
if((findFilters[i].AutoFilter && findFilters[i].AutoFilter.FilterColumns && findFilters[i].AutoFilter.FilterColumns.length) || (findFilters[i].FilterColumns && findFilters[i].FilterColumns.length)) if((findFilters[i].AutoFilter && findFilters[i].AutoFilter.FilterColumns && findFilters[i].AutoFilter.FilterColumns.length) || (findFilters[i].FilterColumns && findFilters[i].FilterColumns.length))
{ {
aWs.setRowHidden(false, ref.r1, ref.r2); aWs.setRowHidden(false, ref.r1, ref.r2);
...@@ -6946,6 +6947,10 @@ var gUndoInsDelCellsFlag = true; ...@@ -6946,6 +6947,10 @@ var gUndoInsDelCellsFlag = true;
} }
else if(!data && addRedo) else if(!data && addRedo)
this._addHistoryObj(oCurFilter, historyitem_AutoFilter_Move); this._addHistoryObj(oCurFilter, historyitem_AutoFilter_Move);
//обновляем в случае открытия строк
if(isUpdate)
ws._onUpdateFormatTable(range, null, 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