diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index 08901cec..cb34e794 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -394,6 +394,7 @@ Ox.Input = function(options, self) { self.$autocompleteMenu .unbindEvent('select') .hideMenu(); + that.gainFocus(); self.selectEventBound = false; } } @@ -494,6 +495,7 @@ Ox.Input = function(options, self) { self.$autocompleteMenu .unbindEvent('select') .hideMenu(); + that.gainFocus(); self.selectEventBound = false; } } @@ -740,6 +742,7 @@ Ox.Input = function(options, self) { key_enter: function() { if (self.$autocompleteMenu.is(':visible')) { self.$autocompleteMenu.hideMenu(); + that.gainFocus(); submit(); } }