For Bug 48260
This commit is contained in:
parent
499a033585
commit
7ecb043d4d
|
@ -368,6 +368,11 @@ define([
|
|||
else
|
||||
this._input.blur();
|
||||
}
|
||||
if (!this.isMenuOpen()) {
|
||||
if ((this.getRawValue() === this.lastValue))
|
||||
return true;
|
||||
this.setRawValue(this._input.val());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
else if (e.keyCode == Common.UI.Keys.ESC && this.isMenuOpen()) {
|
||||
|
|
|
@ -548,9 +548,13 @@ define([
|
|||
})
|
||||
.on('changed:after', _.bind(function(combo, record) {
|
||||
if (me._changedProps) {
|
||||
if (combo.getSelectedRecord()) {
|
||||
me._changedProps.put_XAlign(record.value);
|
||||
} else {
|
||||
me._changedProps.put_XAlign(undefined);
|
||||
me._changedProps.put_X(Common.Utils.Metric.fnRecalcToMM(Common.Utils.String.parseFloat(record.value)));
|
||||
}
|
||||
}
|
||||
}, me))
|
||||
.on('selected', _.bind(function(combo, record) {
|
||||
if (me._changedProps) {
|
||||
|
@ -593,9 +597,13 @@ define([
|
|||
})
|
||||
.on('changed:after', _.bind(function(combo, record) {
|
||||
if (me._changedProps) {
|
||||
if (combo.getSelectedRecord()) {
|
||||
me._changedProps.put_YAlign(record.value);
|
||||
} else {
|
||||
me._changedProps.put_YAlign(undefined);
|
||||
me._changedProps.put_Y(Common.Utils.Metric.fnRecalcToMM(Common.Utils.String.parseFloat(record.value)));
|
||||
}
|
||||
}
|
||||
}, me))
|
||||
.on('selected', _.bind(function(combo, record) {
|
||||
if (me._changedProps) {
|
||||
|
|
Loading…
Reference in a new issue