[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();
|
var value = props.asc_getPrintTitlesHeight();
|
||||||
panel.txtRangeTop.setValue((value) ? value : '');
|
panel.txtRangeTop.setValue((value) ? value : '');
|
||||||
|
this._noApply = true;
|
||||||
panel.txtRangeTop.checkValidate();
|
panel.txtRangeTop.checkValidate();
|
||||||
|
this._noApply = false;
|
||||||
panel.dataRangeTop = value;
|
panel.dataRangeTop = value;
|
||||||
|
|
||||||
value = props.asc_getPrintTitlesWidth();
|
value = props.asc_getPrintTitlesWidth();
|
||||||
panel.txtRangeLeft.setValue((value) ? value : '');
|
panel.txtRangeLeft.setValue((value) ? value : '');
|
||||||
|
this._noApply = true;
|
||||||
panel.txtRangeLeft.checkValidate();
|
panel.txtRangeLeft.checkValidate();
|
||||||
|
this._noApply = false;
|
||||||
panel.dataRangeLeft = value;
|
panel.dataRangeLeft = value;
|
||||||
|
|
||||||
value = (this.api.asc_getActiveWorksheetIndex()==sheet);
|
value = (this.api.asc_getActiveWorksheetIndex()==sheet);
|
||||||
|
@ -448,7 +452,7 @@ define([
|
||||||
fillComponents: function(panel, selectdata) {
|
fillComponents: function(panel, selectdata) {
|
||||||
var me = this;
|
var me = this;
|
||||||
panel.txtRangeTop.validation = function(value) {
|
panel.txtRangeTop.validation = function(value) {
|
||||||
me.propertyChange(panel);
|
!me._noApply && me.propertyChange(panel);
|
||||||
if (_.isEmpty(value)) {
|
if (_.isEmpty(value)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -458,7 +462,7 @@ define([
|
||||||
selectdata && panel.txtRangeTop.updateBtnHint(this.textSelectRange);
|
selectdata && panel.txtRangeTop.updateBtnHint(this.textSelectRange);
|
||||||
|
|
||||||
panel.txtRangeLeft.validation = function(value) {
|
panel.txtRangeLeft.validation = function(value) {
|
||||||
me.propertyChange(panel);
|
!me._noApply && me.propertyChange(panel);
|
||||||
if (_.isEmpty(value)) {
|
if (_.isEmpty(value)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue