[SSE] Bug 38362. Don't lock chart object when change chart type from toolbar

This commit is contained in:
Julia Radzhabova 2018-08-10 11:24:00 +03:00
parent da61d33679
commit f84836fbef

View file

@ -959,7 +959,7 @@ define([
} }
} else if (!isSpark) { } else if (!isSpark) {
var ischartedit = ( type == Asc.c_oAscSelectionType.RangeChart || type == Asc.c_oAscSelectionType.RangeChartText); var ischartedit = ( type == Asc.c_oAscSelectionType.RangeChart || type == Asc.c_oAscSelectionType.RangeChartText);
props = me.api.asc_getChartObject(); props = me.api.asc_getChartObject(true); // don't lock chart object
if (props) { if (props) {
props.putType(record.get('type')); props.putType(record.get('type'));
var range = props.getRange(), var range = props.getRange(),