From 9b909e8eb4e7cc381c144f5946e7e9b8d7d0f4f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 21 Feb 2012 13:53:23 +0100 Subject: [PATCH] =?utf8?q?javascriptmen=C3=BC:=20Bei=20Click=20in=20Conten?= =?utf8?q?tbereich=20das=20Men=C3=BC=20schlie=C3=9Fen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/dhtmlsuite/menu-for-applications.js | 4 ++++ 1 file changed, 4 insertions(+) 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); + }) } } -- 2.20.1