Commit c2f4b491 authored by Julia Radzhabova's avatar Julia Radzhabova

Fix Bug 32652.

parent 0293d46a
......@@ -138,8 +138,9 @@ define([
}, 10);
return false;
} else if ((e.keyCode == Common.UI.Keys.HOME || e.keyCode == Common.UI.Keys.END || e.keyCode == Common.UI.Keys.BACKSPACE) && this.isMenuOpen()) {
me._input.focus();
setTimeout(function() {
me._input.focus();
me._input[0].selectionStart = me._input[0].selectionEnd = (e.keyCode == Common.UI.Keys.HOME) ? 0 : me._input[0].value.length;
}, 10);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment