js/menus/minimenuitem/minimenuitem.js in rsence-pre-2.2.0.17 vs js/menus/minimenuitem/minimenuitem.js in rsence-pre-2.2.0.18
- old
+ new
@@ -24,12 +24,17 @@
_activateParentParent: function(){
var _parentParent = this.parent.parent;
EVENT.changeActiveControl(_parentParent);
},
+ _parentLastActivation: 0,
click: function(){
- this.base();
- this._activateParentParent();
+ var _now = new Date().getTime();
+ if( _now - this._parentLastActivation > 200 ){
+ this.base();
+ this._parentLastActivation = _now;
+ this._activateParentParent();
+ }
return true;
},
mouseDown: function(){
this.base();