Thomas Bruederli
2012-11-18 a8f4960c99d7285e58b115358784067352062ce9
Unlock UI even if no message display object exists
1 files modified
5 ■■■■ changed files
program/js/app.js 5 ●●●● patch | view | raw | blame | history
program/js/app.js
@@ -5593,7 +5593,7 @@
      // save message in order to display after page loaded
      if (type != 'loading')
        this.pending_message = [msg, type, timeout];
      return false;
      return 1;
    }
    type = type ? type : 'notice';
@@ -5655,6 +5655,9 @@
    if (this.is_framed())
      return parent.rcmail.hide_message(obj, fade);
    if (!this.gui_objects.message)
      return;
    var k, n, i, msg, m = this.messages;
    // Hide message by object, don't use for 'loading'!