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

правка проблемы с сортировкой

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61625 954022d7-b5bf-4e40-9824-e11837661b57
parent aafcfbb6
......@@ -1550,7 +1550,7 @@ var gUndoInsDelCellsFlag = true;
if(isTurnOffHistory)
History.TurnOn();
}
};
}
if(cellId)
activeRange = t._idToRange(cellId);
......@@ -1576,6 +1576,8 @@ var gUndoInsDelCellsFlag = true;
if(curFilter && (filterRef.isEqual(activeRange) || cellId))
{
startCol = activeRange.startCol;
if(startCol === undefined)
startCol = activeRange.c1;
}
else//внутри а/ф либо без а/ф либо часть а/ф
{
......@@ -1590,6 +1592,8 @@ var gUndoInsDelCellsFlag = true;
filterRef = curFilter.Ref;
startCol = activeRange.startCol;
if(startCol === undefined)
startCol = activeRange.c1;
}
sortRange = ws.model.getRange3(filterRef.r1 + 1, filterRef.c1, filterRef.r2, filterRef.c2);
......
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