diff --git a/source/Ox.UI/js/Form/FileInput.js b/source/Ox.UI/js/Form/FileInput.js index 72ad3265..02cbd940 100644 --- a/source/Ox.UI/js/Form/FileInput.js +++ b/source/Ox.UI/js/Form/FileInput.js @@ -34,6 +34,9 @@ Ox.FileInput = function(options, self) { that[self.options.disabled ? 'addClass' : 'removeClass']('OxDisabled'); self.$button.options({disabled: self.options.disabled}); self.$input && self.$input[self.options.disabled ? 'hide' : 'show'](); + }, + label: function() { + self.$label && self.$label.options({title: self.options.label}); } }) .addClass('OxFileInput' + (self.options.disabled ? ' OxDisabled' : ''))