Ignore document.mouseup events if a jquery UI dialog is layed over

release-0.7
thomascube 13 years ago
parent 9e54e6fd45
commit 6c1eaec385

@ -1398,6 +1398,10 @@ function rcube_webmail()
{ {
var model, list, li, id; 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 (list = this.message_list) {
if (!rcube_mouse_is_over(e, list.list.parentNode)) if (!rcube_mouse_is_over(e, list.list.parentNode))
list.blur(); list.blur();

Loading…
Cancel
Save