diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-23 11:13:41 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-23 11:13:41 +0000 |
| commit | 990096ff91cf031188d6ba48b36c722325187f41 (patch) | |
| tree | 35cb8907aac3322cc28bbeb18f74995f59c4a3fb | |
| parent | f932d671e929401ec519372082a1a2810b259337 (diff) | |
Ignore document.mouseup events if a jquery UI dialog is layed over
git-svn-id: https://svn.roundcube.net/trunk@5275 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 40aa76f98..26b953932 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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(); |
