[SSE][PE] Fix list settings
This commit is contained in:
parent
8013708f03
commit
baa4065363
|
@ -366,7 +366,7 @@ define([
|
||||||
_handleInput: function(state) {
|
_handleInput: function(state) {
|
||||||
if (this.options.handler) {
|
if (this.options.handler) {
|
||||||
var listtype = (this.type==0) ? this.cmbBulletFormat.getValue() : this.cmbNumFormat.getValue();
|
var listtype = (this.type==0) ? this.cmbBulletFormat.getValue() : this.cmbNumFormat.getValue();
|
||||||
this.options.handler.call(this, state, (listtype==-1) ? null : this._changedProps);
|
this.options.handler.call(this, state, (listtype==-1) ? -1 : this._changedProps);
|
||||||
}
|
}
|
||||||
this.close();
|
this.close();
|
||||||
},
|
},
|
||||||
|
|
|
@ -1141,7 +1141,12 @@ define([
|
||||||
handler: function(result, value) {
|
handler: function(result, value) {
|
||||||
if (result == 'ok') {
|
if (result == 'ok') {
|
||||||
if (me.api) {
|
if (me.api) {
|
||||||
me.api.paraApply(value);
|
if (value==-1)
|
||||||
|
me.api.put_ListType(0, -1);
|
||||||
|
else {
|
||||||
|
props.asc_putBullet(value);
|
||||||
|
me.api.paraApply(props);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
||||||
|
|
Loading…
Reference in a new issue