Commit 0fa87bf6 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32572

parent 38206543
...@@ -11841,12 +11841,19 @@ ...@@ -11841,12 +11841,19 @@
if ( addFormatTableOptionsObj && isChangeAutoFilterToTablePart( addFormatTableOptionsObj ) === true )//CHANGE FILTER TO TABLEPART if ( addFormatTableOptionsObj && isChangeAutoFilterToTablePart( addFormatTableOptionsObj ) === true )//CHANGE FILTER TO TABLEPART
{ {
var addFilterCallBack = function() var filterRange = t.model.AutoFilter.Ref.clone();
var addFilterCallBack = function()
{ {
History.Create_NewPoint();
History.StartTransaction();
t.model.autoFilters.changeAutoFilterToTablePart( styleName, ar, addFormatTableOptionsObj ); t.model.autoFilters.changeAutoFilterToTablePart( styleName, ar, addFormatTableOptionsObj );
t._onUpdateFormatTable(filterRange, !!(styleName), true);
History.EndTransaction();
}; };
var filterRange = t.model.AutoFilter.Ref.clone();
var addNameColumn = false; var addNameColumn = false;
if(addFormatTableOptionsObj === false) if(addFormatTableOptionsObj === false)
addNameColumn = true; addNameColumn = 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