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

bug #31176 - [FastCoEdit]Ошибка в консоли при многократном применении Filter

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67115 954022d7-b5bf-4e40-9824-e11837661b57
parent aec50c27
...@@ -380,15 +380,20 @@ var maxIndividualValues = 10000; ...@@ -380,15 +380,20 @@ var maxIndividualValues = 10000;
//expand range //expand range
var tablePartsContainsRange = this._isTablePartsContainsRange(activeRange); var tablePartsContainsRange = this._isTablePartsContainsRange(activeRange);
if(tablePartsContainsRange) if(tablePartsContainsRange && tablePartsContainsRange.Ref)
filterRange = tablePartsContainsRange.Ref.clone(); filterRange = tablePartsContainsRange.Ref.clone();
else else if(aWs.AutoFilter)
filterRange = aWs.AutoFilter.Ref; filterRange = aWs.AutoFilter.Ref;
if(!filterRange)
return;
//*****callBack on delete filter //*****callBack on delete filter
var addFilterCallBack = function() var addFilterCallBack = function()
{ {
if(!tablePartsContainsRange && !aWs.AutoFilter)
return;
History.Create_NewPoint(); History.Create_NewPoint();
History.StartTransaction(); History.StartTransaction();
......
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