thomascube
2011-09-23 6c1eaec38586a2c542f6b7b9c5c8870059472201
Ignore document.mouseup events if a jquery UI dialog is layed over

1 files modified
4 ■■■■ changed files
program/js/app.js 4 ●●●● patch | view | raw | blame | history
program/js/app.js
@@ -1398,6 +1398,10 @@
  {
    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();