summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-25 18:13:32 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-25 18:13:32 +0200
commit8dc87e62fbc13246d6f95219b4d9253f4fa9d385 (patch)
tree3835ea38cf48e563c74a8dacf91695fed30bfd7f /skins/larry/ui.js
parenta54cff4c569f74f7ec1b2ab8379b7ad1820a8af9 (diff)
Avoid popupmenus being closed when scrollbar is clicked (#1489832)
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 6fb05212d..1cd75acaf 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -380,6 +380,7 @@ function rcube_mail_ui()
config = popupconfig[id];
if (obj.is(':visible')
&& target.id != id+'link'
+ && target != obj.get(0) // check if scroll bar was clicked (#1489832)
&& !config.toggle
&& (!config.editable || !target_overlaps(target, obj.get(0)))
&& (!config.sticky || !rcube_mouse_is_over(e, obj.get(0)))