diff --git a/source/Ox.UI/js/Form/Select.js b/source/Ox.UI/js/Form/Select.js index 830bd3bd..6d3d199f 100644 --- a/source/Ox.UI/js/Form/Select.js +++ b/source/Ox.UI/js/Form/Select.js @@ -58,10 +58,13 @@ Ox.Select = function(options, self) { self.$title.css({width: getTitleWidth() + 'px'}); }, title: function() { + var title = self.options.title + ? self.options.title + : getItem(self.options.value).title; if (self.options.type == 'text') { - self.$title.html(self.options.title); + self.$title.html(title); } else { - self.$button.options({title: self.options.title}); + self.$button.options({title: title}); } }, width: function() {