1
0
Fork 0
forked from 0x2620/oxjs

fix text list so that it doesn't throw errors in its value function

This commit is contained in:
rlx 2011-11-07 12:15:10 +00:00
commit 12622724ee
5 changed files with 9 additions and 6 deletions

View file

@ -140,8 +140,7 @@ Ox.MainMenu = function(options, self) {
checkItem <f> checkItem
@*/
that.checkItem = function(id) {
var ids = id.split('_');
that.getMenu(ids.shift()).checkItem(ids.join('_'));
that.getItem(id).options({checked: true});
return that;
};