1
0
Fork 0
forked from 0x2620/oxjs

tentatively add public updateItem method to ArrayEditable

This commit is contained in:
rolux 2014-12-17 19:36:13 +00:00
commit c3a309585e
2 changed files with 9 additions and 0 deletions

View file

@ -451,6 +451,12 @@ Ox.ArrayEditable = function(options, self) {
}
*/
that.updateItem = function(value) {
if (self.options.selected) {
self.$items[self.selected].options({value: value});
}
};
return that;
};