Commit 5408dff7 authored by Igor.Zotov's avatar Igor.Zotov

добавил условие для обработки серий

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47882 954022d7-b5bf-4e40-9824-e11837661b57
parent 9fd91d71
......@@ -695,7 +695,7 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) {
var styleManager = api_doc ? api_doc.chartStyleManager : api_sheet.chartStyleManager;
arrBaseColors = styleManager.getBaseColors( parseInt(chart.styleId) );
if(chart.series && chart.series.length !=0)
if(chart.series && chart.series.length !=0 && window["Asc"]["editor"])
{
isSeries = true;
var series = chart.series;
......
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