Commit accd5a7f authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил проблему на удалении несуществующего листа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60296 954022d7-b5bf-4e40-9824-e11837661b57
parent 44389326
...@@ -2663,7 +2663,8 @@ UndoRedoWorkbook.prototype = { ...@@ -2663,7 +2663,8 @@ UndoRedoWorkbook.prototype = {
if(null == nIndex) if(null == nIndex)
{ {
var oCurWorksheet = this.wb.getWorksheetById(Data.sheetId); var oCurWorksheet = this.wb.getWorksheetById(Data.sheetId);
nIndex = oCurWorksheet.getIndex(); if (oCurWorksheet)
nIndex = oCurWorksheet.getIndex();
} }
if(null != nIndex) if(null != nIndex)
{ {
......
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