merge changes
This commit is contained in:
commit
0aec06616b
1 changed files with 21 additions and 3 deletions
|
@ -2282,6 +2282,15 @@ requires
|
|||
|
||||
};
|
||||
|
||||
that.getItem = function(id) {
|
||||
var item;
|
||||
$.each(that.menus, function(i, menu) {
|
||||
item = menu.getItem(id);
|
||||
return !item;
|
||||
});
|
||||
return item;
|
||||
};
|
||||
|
||||
that.removeMenu = function() {
|
||||
|
||||
};
|
||||
|
@ -2736,16 +2745,25 @@ requires
|
|||
}
|
||||
}
|
||||
|
||||
that.addItemAfter = function(item) {
|
||||
that.addItem = function(item, position)
|
||||
|
||||
that.addItemAfter = function(item, id) {
|
||||
|
||||
};
|
||||
|
||||
that.addItemBefore = function(item) {
|
||||
that.addItemBefore = function(item, id) {
|
||||
|
||||
};
|
||||
|
||||
that.getItem = function(id) {
|
||||
|
||||
var item;
|
||||
$.each(this.items, function(i, v) {
|
||||
if (v.options("id") == id) {
|
||||
item = v;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return item;
|
||||
};
|
||||
|
||||
that.hasEnabledItems = function() {
|
||||
|
|
Loading…
Reference in a new issue