Javascriptmenü: State deaktivieren, wenn Klick in contentframe
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 21 Feb 2012 15:09:50 +0000 (16:09 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 21 Feb 2012 15:09:50 +0000 (16:09 +0100)
js/dhtmlsuite/menu-for-applications.js

index ce18180..2353dd3 100644 (file)
@@ -2347,7 +2347,10 @@ DHTMLSuite.menuBar.prototype = {
                DHTMLSuite.commonObj.addEvent(document.documentElement,"click",this.hideSubMenus);              \r
         var menu = this;\r
         $('#win1').load(function(){\r
-            $('#win1').contents().mousedown(menu.hideSubMenus);\r
+            $('#win1').contents().mousedown(function(){\r
+                menu.hideSubMenus();\r
+                menu.menuBarState = false;\r
+            });\r
         })\r
        }\r
 }\r