1
0
Fork 0
forked from 0x2620/oxjs

merging changes (api, app, video)

This commit is contained in:
rlx 2011-12-21 13:44:22 +00:00
commit fe303bf2b0
8 changed files with 126 additions and 68 deletions

View file

@ -113,18 +113,30 @@ Ox.MenuButton = function(options, self) {
}
}
/*@
checkItem <f>
@*/
that.checkItem = function(id) {
self.$menu.checkItem(id);
};
/*@
disableItem <f>
@*/
that.disableItem = function(id) {
self.$menu.getItem(id).options({disabled: true});
};
/*@
enableItem <f>
@*/
that.enableItem = function(id) {
self.$menu.getItem(id).options({disabled: false});
};
/*@
remove <f>
@*/
self.superRemove = that.remove;
that.remove = function() {
self.$menu.remove();
@ -133,4 +145,4 @@ Ox.MenuButton = function(options, self) {
return that;
};
};