summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();