forked from 0x2620/oxjs
some changes to files view
This commit is contained in:
parent
0bc884070c
commit
62df91961e
2 changed files with 143 additions and 15 deletions
|
|
@ -39,8 +39,8 @@ Ox.Checkbox = function(options, self) {
|
|||
|
||||
if (self.options.title) {
|
||||
self.options.width != 'auto' && that.css({
|
||||
width: self.options.width + 'px'
|
||||
});
|
||||
width: self.options.width + 'px'
|
||||
});
|
||||
self.$title = new Ox.Label({
|
||||
disabled: self.options.disabled,
|
||||
id: self.options.id + 'Label',
|
||||
|
|
@ -107,6 +107,11 @@ Ox.Checkbox = function(options, self) {
|
|||
return that;
|
||||
}
|
||||
|
||||
// fixme: added for forms, duplicated, checked() shouldn't be neccessary
|
||||
that.value = function() {
|
||||
return self.options.checked;
|
||||
}
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue