forked from 0x2620/oxjs
fix text list so that it doesn't throw errors in its value function
This commit is contained in:
parent
77d2d22505
commit
12622724ee
5 changed files with 9 additions and 6 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue