diff --git a/common/Charts/charts.js b/common/Charts/charts.js index 82cab777c4..de1931ccd3 100644 --- a/common/Charts/charts.js +++ b/common/Charts/charts.js @@ -728,7 +728,8 @@ ChartPreviewManager.prototype.getChartPreviews = function(chartType, arrId, bEmp SmartArtPreviewDrawer.prototype.OnBegin = function () { const oApi = Asc.editor || editor; this.index = 0; - if (oApi) oApi.sendEvent("asc_onBeginSmartArtPreview"); + if (oApi) + oApi.sendEvent("asc_onBeginSmartArtPreview", this.typeOfSectionLoad); } SmartArtPreviewDrawer.prototype.OnEnd = function() {