Commit 43637c0a authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33266

parent b64239f5
...@@ -2181,12 +2181,16 @@ var editor; ...@@ -2181,12 +2181,16 @@ var editor;
spreadsheet_api.prototype.asc_addChartDrawingObject = function(chart) { spreadsheet_api.prototype.asc_addChartDrawingObject = function(chart) {
var ws = this.wb.getWorksheet(); var ws = this.wb.getWorksheet();
return ws.objectRender.addChartDrawingObject(chart); var ret = ws.objectRender.addChartDrawingObject(chart);
this.asc_onCloseChartFrame();
return ret;
}; };
spreadsheet_api.prototype.asc_editChartDrawingObject = function(chart) { spreadsheet_api.prototype.asc_editChartDrawingObject = function(chart) {
var ws = this.wb.getWorksheet(); var ws = this.wb.getWorksheet();
return ws.objectRender.editChartDrawingObject(chart); var ret = ws.objectRender.editChartDrawingObject(chart);
this.asc_onCloseChartFrame();
return ret;
}; };
spreadsheet_api.prototype.asc_addImageDrawingObject = function(imageUrl) { spreadsheet_api.prototype.asc_addImageDrawingObject = function(imageUrl) {
......
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