From e10faba00057d03e28b48720f76ca4e469ef1c71 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 14 Jun 2012 10:57:55 +0200 Subject: Fix target check with nested buttons --- skins/larry/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 630008f7e..675f61bc3 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -218,6 +218,8 @@ function rcube_mail_ui() function body_mouseup(e) { var config, obj, target = e.target; + if (target.className == 'inner') + target = e.target.parentNode; for (var id in popups) { obj = popups[id]; config = popupconfig[id]; -- cgit v1.2.3