Commit 7484fc91 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49043 954022d7-b5bf-4e40-9824-e11837661b57
parent e6b52021
...@@ -784,6 +784,8 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) { ...@@ -784,6 +784,8 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) {
var api_doc = window["editor"]; var api_doc = window["editor"];
var api_sheet = window["Asc"]["editor"]; var api_sheet = window["Asc"]["editor"];
var styleManager = api_doc ? api_doc.chartStyleManager : api_sheet.chartStyleManager; var styleManager = api_doc ? api_doc.chartStyleManager : api_sheet.chartStyleManager;
if ( !styleManager.isReady() )
styleManager.init();
arrBaseColors = styleManager.getBaseColors( parseInt(chart.styleId) ); arrBaseColors = styleManager.getBaseColors( parseInt(chart.styleId) );
var arrFormatAdobeLabels = []; var arrFormatAdobeLabels = [];
......
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