[DE] Debug header/footer settings.
This commit is contained in:
parent
926ffde349
commit
02fc85f1f5
|
@ -74,8 +74,7 @@ define([
|
||||||
DiffOdd: false,
|
DiffOdd: false,
|
||||||
SameAs: false,
|
SameAs: false,
|
||||||
DisabledControls: false,
|
DisabledControls: false,
|
||||||
Numbering: true,
|
Numbering: undefined
|
||||||
From: 1
|
|
||||||
};
|
};
|
||||||
this.spinners = [];
|
this.spinners = [];
|
||||||
this.lockedControls = [];
|
this.lockedControls = [];
|
||||||
|
@ -137,17 +136,12 @@ define([
|
||||||
this._state.SameAs=value;
|
this._state.SameAs=value;
|
||||||
}
|
}
|
||||||
|
|
||||||
// value = prop.get_PageNumbering();
|
|
||||||
if ( this._state.Numbering!==value ) {
|
|
||||||
this.radioPrev.setValue(!!value, true);
|
|
||||||
this.radioFrom.setValue(!value, true);
|
|
||||||
this._state.Numbering=value;
|
|
||||||
}
|
|
||||||
|
|
||||||
// value = prop.get_NumberingFrom();
|
// value = prop.get_NumberingFrom();
|
||||||
if ( this._state.From!==value ) {
|
if ( this._state.Numbering!==value && value !== null) {
|
||||||
this.numFrom.setValue(value===null ? '' : value, true);
|
this.radioPrev.setValue(value<0, true);
|
||||||
this._state.From=value;
|
this.radioFrom.setValue(value>-1, true);
|
||||||
|
this.numFrom.setValue(value<0 ? '' : value, true);
|
||||||
|
this._state.Numbering=value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -190,7 +184,7 @@ define([
|
||||||
|
|
||||||
onRadioPrev: function(field, newValue, eOpts) {
|
onRadioPrev: function(field, newValue, eOpts) {
|
||||||
if (newValue && this.api) {
|
if (newValue && this.api) {
|
||||||
// this.api.HeadersAndFooters_FromPrevious(newValue);
|
// this.api.HeadersAndFooters_FromPrevious(-1);
|
||||||
}
|
}
|
||||||
this.fireEvent('editcomplete', this);
|
this.fireEvent('editcomplete', this);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue