diff --git a/source/Ox.UI/js/Menu/Menu.js b/source/Ox.UI/js/Menu/Menu.js index 853e93d9..9967becb 100644 --- a/source/Ox.UI/js/Menu/Menu.js +++ b/source/Ox.UI/js/Menu/Menu.js @@ -16,7 +16,6 @@ Ox.Menu Menu Object side open to 'bottom' or 'right' size 'large', 'medium' or 'small' self shared private variable - change_groupId {id, value} checked item of a group has changed click_itemId item not belonging to a group was clicked click_menuId {id, value} item not belonging to a group was clicked @@ -316,7 +315,7 @@ Ox.Menu = function(options, self) { var position; if ('id' in item) { that.items.push( - Ox.MenuItem(Ox.extend(item, { + Ox.MenuItem(Ox.extend(Ox.clone(item), { maxWidth: self.options.maxWidth, menu: that, position: position = that.items.length