Fix Bug 38107

This commit is contained in:
Julia Radzhabova 2018-07-16 14:55:43 +03:00
parent f03e26dfa6
commit a100cda6ba
3 changed files with 12 additions and 0 deletions

View file

@ -501,7 +501,11 @@ define([
stylesStore.reset(stylearray, {silent: false});
}
}
} else {
this.cmbChartStyle.menuPicker.store.reset();
this.cmbChartStyle.clearComboView();
}
this.cmbChartStyle.setDisabled(!styles || styles.length<1 || this._locked);
},
setLocked: function (locked) {

View file

@ -430,7 +430,11 @@ define([
stylesStore.reset(stylearray, {silent: false});
}
}
} else {
this.cmbChartStyle.menuPicker.store.reset();
this.cmbChartStyle.clearComboView();
}
this.cmbChartStyle.setDisabled(!styles || styles.length<1 || this._locked);
},
onWidthChange: function(field, newValue, oldValue, eOpts){

View file

@ -1088,7 +1088,11 @@ define([
stylesStore.reset(stylearray, {silent: false});
}
}
} else {
this.cmbChartStyle.menuPicker.store.reset();
this.cmbChartStyle.clearComboView();
}
this.cmbChartStyle.setDisabled(!styles || styles.length<1 || this._locked);
},
updateSparkStyles: function(styles) {