From: Sven Schöling Date: Tue, 21 Feb 2012 12:53:23 +0000 (+0100) Subject: javascriptmenü: Bei Click in Contentbereich das Menü schließen. X-Git-Tag: release-2.7.0rc1~13 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9b909e8eb4e7cc381c144f5946e7e9b8d7d0f4f4;p=kivitendo-erp.git javascriptmenü: Bei Click in Contentbereich das Menü schließen. --- diff --git a/js/dhtmlsuite/menu-for-applications.js b/js/dhtmlsuite/menu-for-applications.js index 664ee9e5b..ce18180c2 100644 --- a/js/dhtmlsuite/menu-for-applications.js +++ b/js/dhtmlsuite/menu-for-applications.js @@ -2345,6 +2345,10 @@ DHTMLSuite.menuBar.prototype = { __setBasicEvents : function() { DHTMLSuite.commonObj.addEvent(document.documentElement,"click",this.hideSubMenus); + var menu = this; + $('#win1').load(function(){ + $('#win1').contents().mousedown(menu.hideSubMenus); + }) } }