Commit 7e6ecfda 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@63877 954022d7-b5bf-4e40-9824-e11837661b57
parent 2010f772
...@@ -1418,7 +1418,6 @@ var maxIndividualValues = 10000; ...@@ -1418,7 +1418,6 @@ var maxIndividualValues = 10000;
var DeleteRows = ((insertType == c_oAscDeleteOptions.DeleteRows && type == 'delCell') || insertType == c_oAscInsertOptions.InsertRows) ? true : false; var DeleteRows = ((insertType == c_oAscDeleteOptions.DeleteRows && type == 'delCell') || insertType == c_oAscInsertOptions.InsertRows) ? true : false;
activeRange = activeRange.clone(); activeRange = activeRange.clone();
var diff = activeRange.r2 - activeRange.r1 + 1; var diff = activeRange.r2 - activeRange.r1 + 1;
var oldFilter;
if(type === "delCell") if(type === "delCell")
diff = - diff; diff = - diff;
...@@ -1435,6 +1434,7 @@ var maxIndividualValues = 10000; ...@@ -1435,6 +1434,7 @@ var maxIndividualValues = 10000;
var changeFilter = function(filter, bTablePart) var changeFilter = function(filter, bTablePart)
{ {
var ref = filter.Ref; var ref = filter.Ref;
var oldFilter = null;
if(activeRange.c1 <= ref.c1 && activeRange.c2 >= ref.c2) if(activeRange.c1 <= ref.c1 && activeRange.c2 >= ref.c2)
{ {
if(activeRange.r1 <= ref.r1)//until if(activeRange.r1 <= ref.r1)//until
......
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