[PE][SSE] List settings: disable Start at option when numstart is null

This commit is contained in:
Julia Radzhabova 2019-12-12 10:35:52 +03:00
parent 95acc7ce77
commit a419870c61

View file

@ -248,7 +248,9 @@ define([
_setDefaults: function (props) {
if (props) {
this.spnSize.setValue(props.asc_getBulletSize() || '', true);
this.spnStart.setValue(props.get_NumStartAt() || '', true);
var value = props.get_NumStartAt();
this.spnStart.setValue(value || '', true);
this.spnStart.setDisabled(value===null);
var color = props.asc_getBulletColor();
if (color) {
if (color.get_type() == Asc.c_oAscColor.COLOR_TYPE_SCHEME) {