Commit f9b46a1d authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 25971 - Редактирование диапазона данных в окне Chart Settings вызывает ошибку в консоли

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57803 954022d7-b5bf-4e40-9824-e11837661b57
parent c31e56f5
...@@ -561,7 +561,10 @@ parserHelper.prototype.checkDataRange = function (model, wb, dialogType, dataRan ...@@ -561,7 +561,10 @@ parserHelper.prototype.checkDataRange = function (model, wb, dialogType, dataRan
var sDataRange = dataRange, sheetModel; var sDataRange = dataRange, sheetModel;
if (c_oAscSelectionDialogType.Chart === dialogType) { if (c_oAscSelectionDialogType.Chart === dialogType) {
dataRange = parserHelp.parse3DRef(dataRange); dataRange = parserHelp.parse3DRef(dataRange);
sheetModel = model.getWorksheetByName(dataRange.sheet); if(dataRange)
{
sheetModel = model.getWorksheetByName(dataRange.sheet);
}
if (null === dataRange || !sheetModel) if (null === dataRange || !sheetModel)
return c_oAscError.ID.DataRangeError; return c_oAscError.ID.DataRangeError;
dataRange = Asc.g_oRangeCache.getAscRange(dataRange.range); dataRange = Asc.g_oRangeCache.getAscRange(dataRange.range);
......
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