Commit 70ec02a0 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@58397 954022d7-b5bf-4e40-9824-e11837661b57
parent 56ed274e
......@@ -2229,23 +2229,11 @@ var gUndoInsDelCellsFlag = true;
var newActiveRange;
if(DeleteRows)
{
newActiveRange =
{
c1: ws.visibleRange.c1,
c2: ws.visibleRange.c2,
r1: activeCells.r1,
r2: activeCells.r2
}
newActiveRange = new Range(aWs, activeCells.r1, ws.visibleRange.c1, activeCells.r2, ws.visibleRange.c2);
}
else
{
newActiveRange =
{
c1: activeCells.c1,
c2: activeCells.c2,
r1: ws.visibleRange.r1,
r2: ws.visibleRange.r2
}
newActiveRange = new Range(aWs, ws.visibleRange.r1, activeCells.c1, ws.visibleRange.r2, activeCells.c2);
}
//если активной областью захвачена полнотью форматированная таблица(или её часть) + часть форматированной таблицы - выдаём ошибку
if(tableParts)
......
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