client/js/menus/minimenuitem/minimenuitem.js in rsence-pre-3.0.0.8 vs client/js/menus/minimenuitem/minimenuitem.js in rsence-pre-3.0.0.9

- old
+ new

@@ -2,13 +2,13 @@ /*** = Description ** Menu item for the HMiniMenu component. ***/ var//RSence.Menus HMiniMenuItem = HRadioButton.extend({ - + componentName: 'minimenuitem', - + defaultEvents: { click: true, mouseUp: true, mouseDown: true }, @@ -22,27 +22,27 @@ this.base( _newActive ); }, _parentLastActivation: 0, click: function(){ - var _now = new Date().getTime(); + var _now = this.msNow(); if( _now - this._parentLastActivation > 200 ){ this.base(); this._parentLastActivation = _now; EVENT.changeActiveControl(null); } return true; }, - + mouseDown: function(){ this.base(); this.click(); return true; }, - + mouseUp: function(){ this.base(); this.click(); return true; } - + });