forked from 0x2620/oxjs
self.setOption ~> that.update
This commit is contained in:
parent
9ee0742b53
commit
005d50c389
56 changed files with 919 additions and 933 deletions
|
|
@ -25,6 +25,11 @@ Ox.ObjectArrayInput = function(options, self) {
|
|||
width: 256
|
||||
})
|
||||
.options(options || {})
|
||||
.update({
|
||||
value: function() {
|
||||
setValue(self.options.value);
|
||||
}
|
||||
})
|
||||
.addClass('OxObjectArrayInput');
|
||||
|
||||
if (Ox.isEmpty(self.options.value)) {
|
||||
|
|
@ -163,12 +168,6 @@ Ox.ObjectArrayInput = function(options, self) {
|
|||
});
|
||||
}
|
||||
|
||||
self.setOption = function(key, value) {
|
||||
if (key == 'value') {
|
||||
setValue(value);
|
||||
}
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue