[PE][SSE] Fix creating bulleted list
This commit is contained in:
parent
bda352f4bc
commit
a1c5daff2d
|
@ -225,7 +225,6 @@ define([
|
||||||
this.cmbBulletFormat.selectRecord(rec);
|
this.cmbBulletFormat.selectRecord(rec);
|
||||||
this.bulletProps = {symbol: rec.get('symbol'), font: rec.get('font')};
|
this.bulletProps = {symbol: rec.get('symbol'), font: rec.get('font')};
|
||||||
this.cmbBulletFormat.on('selected', _.bind(function (combo, record) {
|
this.cmbBulletFormat.on('selected', _.bind(function (combo, record) {
|
||||||
if (this._changedProps) {
|
|
||||||
if (record.value === 1) {
|
if (record.value === 1) {
|
||||||
var me = this,
|
var me = this,
|
||||||
props = me.bulletProps,
|
props = me.bulletProps,
|
||||||
|
@ -258,6 +257,7 @@ define([
|
||||||
win.show();
|
win.show();
|
||||||
win.on('symbol:dblclick', handler);
|
win.on('symbol:dblclick', handler);
|
||||||
} else if (record.value == -1) {
|
} else if (record.value == -1) {
|
||||||
|
if (this._changedProps)
|
||||||
this._changedProps.asc_putListType(0, record.value);
|
this._changedProps.asc_putListType(0, record.value);
|
||||||
} else {
|
} else {
|
||||||
this.bulletProps.changed = true;
|
this.bulletProps.changed = true;
|
||||||
|
@ -269,7 +269,6 @@ define([
|
||||||
this._changedProps.asc_putSymbol(this.bulletProps.symbol);
|
this._changedProps.asc_putSymbol(this.bulletProps.symbol);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}, this));
|
}, this));
|
||||||
|
|
||||||
this.spnSize = new Common.UI.MetricSpinner({
|
this.spnSize = new Common.UI.MetricSpinner({
|
||||||
|
|
Loading…
Reference in a new issue