Fix Bug 32652.
This commit is contained in:
parent
0293d46a71
commit
c2f4b4917e
|
@ -138,8 +138,9 @@ define([
|
||||||
}, 10);
|
}, 10);
|
||||||
return false;
|
return false;
|
||||||
} else if ((e.keyCode == Common.UI.Keys.HOME || e.keyCode == Common.UI.Keys.END || e.keyCode == Common.UI.Keys.BACKSPACE) && this.isMenuOpen()) {
|
} else if ((e.keyCode == Common.UI.Keys.HOME || e.keyCode == Common.UI.Keys.END || e.keyCode == Common.UI.Keys.BACKSPACE) && this.isMenuOpen()) {
|
||||||
setTimeout(function() {
|
|
||||||
me._input.focus();
|
me._input.focus();
|
||||||
|
setTimeout(function() {
|
||||||
|
me._input[0].selectionStart = me._input[0].selectionEnd = (e.keyCode == Common.UI.Keys.HOME) ? 0 : me._input[0].value.length;
|
||||||
}, 10);
|
}, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue