FileInput: add update handler for 'label' option
This commit is contained in:
parent
f1120a825b
commit
ef127e1db4
1 changed files with 3 additions and 0 deletions
|
@ -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' : ''))
|
||||
|
|
Loading…
Reference in a new issue