This commit is contained in:
rlx 2011-10-06 04:35:02 +00:00
parent c615da5c15
commit cd9a26dab5
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ Ox.Button = function(options, self) {
type: self.options.type == 'text' ? 'button' : 'image'
}, self.options.disabled ? {
disabled: 'disabled'
} : {})
} : {}))
.addClass('OxButton Ox' + Ox.toTitleCase(self.options.size) +
(self.options.disabled ? ' OxDisabled': '') +
(self.options.selected ? ' OxSelected': '') +

View file

@ -209,7 +209,7 @@ Ox.Input = function(options, self) {
type: self.options.type == 'password' ? 'password' : 'text'
}, self.options.disabled ? {
disabled: 'disabled'
} : {})
} : {}))
.css(Ox.extend({
width: self.inputWidth + 'px',
textAlign: self.options.textAlign