summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-09-23 11:13:41 +0000
committerthomascube <thomas@roundcube.net>2011-09-23 11:13:41 +0000
commit6c1eaec38586a2c542f6b7b9c5c8870059472201 (patch)
tree1f3141685cc7f1272689e50a8cb3a21c16be9c56 /program/js/app.js
parent9e54e6fd455326185b54b5e2cb1b7936c7817670 (diff)
Ignore document.mouseup events if a jquery UI dialog is layed over
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 40aa76f98..26b953932 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1398,6 +1398,10 @@ function rcube_webmail()
{
var model, list, li, id;
+ // ignore event if jquery UI dialog is open
+ if ($(rcube_event.get_target(e)).closest('.ui-dialog, .ui-widget-overlay').length)
+ return;
+
if (list = this.message_list) {
if (!rcube_mouse_is_over(e, list.list.parentNode))
list.blur();