1
0
Fork 0
forked from 0x2620/oxjs

serialize/unserialize

This commit is contained in:
rolux 2010-07-14 00:38:53 +02:00
commit 5ee998b263
4 changed files with 39 additions and 11 deletions

View file

@ -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
*/
})();
})();