Ox.SelectInput: focus input when switching to 'other' option

This commit is contained in:
rolux 2012-06-14 16:05:17 +02:00
parent b6138ead48
commit b7129af1b4

View file

@ -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()});
}