[DE] Fix Bug 44180
This commit is contained in:
parent
f8781cdea1
commit
fb041728ac
|
@ -285,9 +285,9 @@ define([
|
||||||
if (this.options.handler) {
|
if (this.options.handler) {
|
||||||
if (state == 'ok') {
|
if (state == 'ok') {
|
||||||
var errmsg = null;
|
var errmsg = null;
|
||||||
if (this.spnLeft.getNumberValue() + this.spnRight.getNumberValue() > this.maxMarginsW )
|
if (this.spnLeft.getNumberValue() + this.spnRight.getNumberValue() + (this.cmbGutterPosition.getValue() ? 0 : this.spnGutter.getNumberValue()) > this.maxMarginsW )
|
||||||
errmsg = this.txtMarginsW;
|
errmsg = this.txtMarginsW;
|
||||||
else if (Math.abs(this.spnTop.getNumberValue() + this.spnBottom.getNumberValue()) > this.maxMarginsH )
|
else if (Math.abs(this.spnTop.getNumberValue() + this.spnBottom.getNumberValue() + (this.cmbGutterPosition.getValue() ? this.spnGutter.getNumberValue() : 0)) > this.maxMarginsH )
|
||||||
errmsg = this.txtMarginsH;
|
errmsg = this.txtMarginsH;
|
||||||
if (errmsg) {
|
if (errmsg) {
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
|
|
Loading…
Reference in a new issue