[SSE] Fix Bug 38361

This commit is contained in:
Julia Radzhabova 2018-08-10 15:49:40 +03:00
parent ef02ce4ace
commit 087a155b7b

View file

@ -961,7 +961,7 @@ define([
var ischartedit = ( type == Asc.c_oAscSelectionType.RangeChart || type == Asc.c_oAscSelectionType.RangeChartText);
props = me.api.asc_getChartObject(true); // don't lock chart object
if (props) {
props.putType(record.get('type'));
(ischartedit) ? props.changeType(record.get('type')) : props.putType(record.get('type'));
var range = props.getRange(),
isvalid = me.api.asc_checkDataRange(Asc.c_oAscSelectionDialogType.Chart, range, true, !props.getInColumns(), props.getType());
if (isvalid == Asc.c_oAscError.ID.No) {