Commit b310b667 authored by Igor.Zotov's avatar Igor.Zotov

убрал _isLockedCells в случае добавления а/ф

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60145 954022d7-b5bf-4e40-9824-e11837661b57
parent 2162ddd9
......@@ -1098,12 +1098,16 @@ var gUndoInsDelCellsFlag = true;
paramsForCallBackAdd = "addAutoFilterOneCell";
}
rangeShift1 = t._getAscRange(mainAdjacentCells,rowAdd);
if(lTable)
selectionTable = rangeShift1.clone();
if(isTurnOffHistory)
//не лочим в случае обыкновенного а/ф
if(isTurnOffHistory || !lTable)
onAddAutoFiltersCallback(true);
else
ws._isLockedCells(rangeShift1, /*subType*/null, onAddAutoFiltersCallback);
return;
}
else//выделено > 1 ячейки
......@@ -1125,9 +1129,12 @@ var gUndoInsDelCellsFlag = true;
paramsForCallBackAdd = "addAutoFilterManyCells";
}
rangeShift1 = t._getAscRange(activeCells,rowAdd);
if(lTable)
selectionTable = rangeShift1.clone();
if(isTurnOffHistory)
//не лочим в случае обыкновенного а/ф
if(isTurnOffHistory || !lTable)
onAddAutoFiltersCallback(true);
else
ws._isLockedCells(rangeShift1, /*subType*/null, onAddAutoFiltersCallback);
......
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