From 28428900f3d2c1aabc7fad060b6d9d7cdf6d9f9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 21 Feb 2012 16:54:44 +0100 Subject: [PATCH] =?utf8?q?Bei=20Klick=20auf=20Men=C3=BCpunkt=20und=20in=20?= =?utf8?q?den=20header=20auch=20den=20State=20resetten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/dhtmlsuite/menu-for-applications.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/dhtmlsuite/menu-for-applications.js b/js/dhtmlsuite/menu-for-applications.js index 2353dd336..7896f917b 100644 --- a/js/dhtmlsuite/menu-for-applications.js +++ b/js/dhtmlsuite/menu-for-applications.js @@ -2335,6 +2335,7 @@ DHTMLSuite.menuBar.prototype = { } // }}} , + unsetMenuBarState : function() { this.menuBarState = false }, // {{{ __setBasicEvents() /** * Set basic events for the menu widget. @@ -2346,6 +2347,7 @@ DHTMLSuite.menuBar.prototype = { { DHTMLSuite.commonObj.addEvent(document.documentElement,"click",this.hideSubMenus); var menu = this; + $(document).mousedown(function(){ menu.unsetMenuBarState(); }); $('#win1').load(function(){ $('#win1').contents().mousedown(function(){ menu.hideSubMenus(); -- 2.20.1