From b7129af1b4684e3dac1e0aa2942eb5be83d78a03 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 14 Jun 2012 16:05:17 +0200 Subject: [PATCH] Ox.SelectInput: focus input when switching to 'other' option --- source/Ox.UI/js/Form/SelectInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/SelectInput.js b/source/Ox.UI/js/Form/SelectInput.js index 34389a82..8ac87566 100644 --- a/source/Ox.UI/js/Form/SelectInput.js +++ b/source/Ox.UI/js/Form/SelectInput.js @@ -114,7 +114,7 @@ Ox.SelectInput = function(options, self) { width: self.otherWidth }) .addClass('OxOverlapRight'); - self.$input.show().value(self.options.value); + self.$input.show().value(self.options.value).focusInput(); } self.$select.options({title: getTitle()}); }