forked from 0x2620/oxjs
serialize/unserialize
This commit is contained in:
parent
5a655b3e20
commit
5ee998b263
4 changed files with 39 additions and 11 deletions
|
|
@ -3747,11 +3747,15 @@ requires
|
|||
};
|
||||
|
||||
that.disableItem = function(id) {
|
||||
|
||||
that.getItem(id).options({
|
||||
disabled: true
|
||||
});
|
||||
};
|
||||
|
||||
that.enableItem = function(id) {
|
||||
|
||||
that.getItem(id).options({
|
||||
disabled: false
|
||||
});
|
||||
};
|
||||
|
||||
that.getItem = function(id) {
|
||||
|
|
@ -3785,7 +3789,9 @@ requires
|
|||
};
|
||||
|
||||
that.uncheckItem = function(id) {
|
||||
|
||||
that.getItem(id).options({
|
||||
checked: false
|
||||
});
|
||||
};
|
||||
|
||||
return that;
|
||||
|
|
@ -4475,7 +4481,7 @@ requires
|
|||
}
|
||||
that.$status.html(value ? oxui.symbols.check : "")
|
||||
} else if (key == "disabled") {
|
||||
that.toggleClass("disabled"); // fixme: this will only work if onChange is only invoked on actual change
|
||||
that.toggleClass("OxDisabled"); // fixme: this will only work if onChange is only invoked on actual change
|
||||
} else if (key == "title") {
|
||||
|
||||
}
|
||||
|
|
@ -4790,4 +4796,4 @@ requires
|
|||
*/
|
||||
|
||||
|
||||
})();
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue