1
0
Fork 0
forked from 0x2620/oxjs

video editor resolution toggle

This commit is contained in:
j 2011-12-20 19:15:24 +05:30
commit 87ba2a10ab
2 changed files with 20 additions and 5 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;
};
};