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

http://bugzserver/show_bug.cgi?id=26528 - Ошибка в консоли при применении Undo...

http://bugzserver/show_bug.cgi?id=26528 - Ошибка в консоли при применении Undo после удаления столбцов форматированной таблицы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58287 954022d7-b5bf-4e40-9824-e11837661b57
parent 7c716d66
...@@ -6353,7 +6353,7 @@ var gUndoInsDelCellsFlag = true; ...@@ -6353,7 +6353,7 @@ var gUndoInsDelCellsFlag = true;
nameStart = tableColumns[indexInsertColumn].Name.split("Column"); nameStart = tableColumns[indexInsertColumn].Name.split("Column");
if(tableColumns[indexInsertColumn + 1] && tableColumns[indexInsertColumn + 1].Name) if(tableColumns[indexInsertColumn + 1] && tableColumns[indexInsertColumn + 1].Name)
nameEnd = tableColumns[indexInsertColumn + 1].Name.split("Column"); nameEnd = tableColumns[indexInsertColumn + 1].Name.split("Column");
if(nameStart[1] && nameEnd[1] && !isNaN(parseInt(nameStart[1])) && !isNaN(parseInt(nameEnd[1])) && ((parseInt(nameStart[1]) + 1) == parseInt(nameEnd[1]))) if(nameStart && nameStart[1] && nameEnd && nameEnd[1] && !isNaN(parseInt(nameStart[1])) && !isNaN(parseInt(nameEnd[1])) && ((parseInt(nameStart[1]) + 1) == parseInt(nameEnd[1])))
isSequence = true; isSequence = true;
} }
if(indexInsertColumn == undefined || !isSequence) if(indexInsertColumn == undefined || !isSequence)
......
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