From: Sven Schöling Date: Tue, 21 Feb 2012 15:09:50 +0000 (+0100) Subject: Javascriptmenü: State deaktivieren, wenn Klick in contentframe X-Git-Tag: release-2.7.0rc1~12 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=73c3135236192e3cc34ce33f753a1deeb8bff524;p=kivitendo-erp.git Javascriptmenü: State deaktivieren, wenn Klick in contentframe --- diff --git a/js/dhtmlsuite/menu-for-applications.js b/js/dhtmlsuite/menu-for-applications.js index ce18180c2..2353dd336 100644 --- a/js/dhtmlsuite/menu-for-applications.js +++ b/js/dhtmlsuite/menu-for-applications.js @@ -2347,7 +2347,10 @@ DHTMLSuite.menuBar.prototype = { DHTMLSuite.commonObj.addEvent(document.documentElement,"click",this.hideSubMenus); var menu = this; $('#win1').load(function(){ - $('#win1').contents().mousedown(menu.hideSubMenus); + $('#win1').contents().mousedown(function(){ + menu.hideSubMenus(); + menu.menuBarState = false; + }); }) } }