Merge pull request #652 from ONLYOFFICE/fix/bug-48260
[DE] Fix Bug 48260
This commit is contained in:
commit
d53df9f6db
|
@ -131,6 +131,8 @@ define([
|
||||||
if ($(e.target).closest('input').length) { // enter in input field
|
if ($(e.target).closest('input').length) { // enter in input field
|
||||||
if (this.lastValue !== this._input.val())
|
if (this.lastValue !== this._input.val())
|
||||||
this._input.trigger('change');
|
this._input.trigger('change');
|
||||||
|
else
|
||||||
|
return true;
|
||||||
} else { // enter in dropdown list
|
} else { // enter in dropdown list
|
||||||
$(e.target).click();
|
$(e.target).click();
|
||||||
if (this.rendered) {
|
if (this.rendered) {
|
||||||
|
@ -139,7 +141,7 @@ define([
|
||||||
else
|
else
|
||||||
this._input.blur();
|
this._input.blur();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
} else if (e.keyCode == Common.UI.Keys.ESC && this.isMenuOpen()) {
|
} else if (e.keyCode == Common.UI.Keys.ESC && this.isMenuOpen()) {
|
||||||
this._input.val(this.lastValue);
|
this._input.val(this.lastValue);
|
||||||
|
|
Loading…
Reference in a new issue