Fix Bug 53311
This commit is contained in:
parent
809dc9ebc8
commit
e3d3cb8acb
|
@ -57,7 +57,7 @@ function onDropDownKeyDown(e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if ($this.hasClass('move-focus')) {
|
} else if ($this.hasClass('move-focus')) {
|
||||||
if (!(/^(27|13|9|32)/.test(e.keyCode) && !e.ctrlKey && !e.altKey)) {
|
if (!((/^(13|9|32)/.test(e.keyCode) || e.keyCode===27 && !$parent.hasClass('open')) && !e.ctrlKey && !e.altKey)) {
|
||||||
patchDropDownKeyDown.call(this, e);
|
patchDropDownKeyDown.call(this, e);
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
Loading…
Reference in a new issue