js/menus/minimenuitem/minimenuitem.js in rsence-pre-2.2.0.10 vs js/menus/minimenuitem/minimenuitem.js in rsence-pre-2.2.0.11

- old
+ new

@@ -15,19 +15,33 @@ componentName: 'minimenuitem', defaultEvents: { click: true, - mouseUp: true + mouseUp: true, + mouseDown: true }, + _activateParentParent: function(){ + var _parentParent = this.parent.parent; + EVENT.changeActiveControl(_parentParent); + }, + click: function(){ this.base(); - EVENT.changeActiveControl(this.parent.parent); + this._activateParentParent(); + return true; }, + mouseDown: function(){ + this.base(); + this.click(); + return true; + }, + mouseUp: function(){ this.base(); this.click(); + return true; } });