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

+ условие для opensource

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52869 954022d7-b5bf-4e40-9824-e11837661b57
parent adc69145
......@@ -1843,7 +1843,7 @@ DrawingObjectsController.prototype =
for (var i = 0; i < ret.length; i++) {
if ( (!api.chartStyleManager.isReady() || !api.chartPreviewManager.isReady()) && ret[i].ChartProperties ) {
if ( api.chartStyleManager && api.chartPreviewManage && (!api.chartStyleManager.isReady() || !api.chartPreviewManager.isReady()) && ret[i].ChartProperties ) {
api.chartStyleManager.init();
api.chartPreviewManager.init();
this.drawingObjects.callTrigger("asc_onUpdateChartStyles");
......
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