[SSE] Bug 46334
Don't fill options when dialog is opened, fix rev. d8e79bded7
This commit is contained in:
parent
5812239722
commit
79379b20d8
|
@ -161,12 +161,16 @@ define([
|
|||
|
||||
var value = props.asc_getPrintTitlesHeight();
|
||||
panel.txtRangeTop.setValue((value) ? value : '');
|
||||
this._noApply = true;
|
||||
panel.txtRangeTop.checkValidate();
|
||||
this._noApply = false;
|
||||
panel.dataRangeTop = value;
|
||||
|
||||
value = props.asc_getPrintTitlesWidth();
|
||||
panel.txtRangeLeft.setValue((value) ? value : '');
|
||||
this._noApply = true;
|
||||
panel.txtRangeLeft.checkValidate();
|
||||
this._noApply = false;
|
||||
panel.dataRangeLeft = value;
|
||||
|
||||
value = (this.api.asc_getActiveWorksheetIndex()==sheet);
|
||||
|
@ -448,7 +452,7 @@ define([
|
|||
fillComponents: function(panel, selectdata) {
|
||||
var me = this;
|
||||
panel.txtRangeTop.validation = function(value) {
|
||||
me.propertyChange(panel);
|
||||
!me._noApply && me.propertyChange(panel);
|
||||
if (_.isEmpty(value)) {
|
||||
return true;
|
||||
}
|
||||
|
@ -458,7 +462,7 @@ define([
|
|||
selectdata && panel.txtRangeTop.updateBtnHint(this.textSelectRange);
|
||||
|
||||
panel.txtRangeLeft.validation = function(value) {
|
||||
me.propertyChange(panel);
|
||||
!me._noApply && me.propertyChange(panel);
|
||||
if (_.isEmpty(value)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue