Aleksander Machniak
2013-07-01 446dbedbf606c61f06846d04f75e03dfbc3fedfd
Fix so setting frame to blank page works also while frame is loading another page
2 files modified
12 ■■■■■ changed files
program/js/app.js 10 ●●●● patch | view | raw | blame | history
program/steps/addressbook/move.inc 2 ●●●●● patch | view | raw | blame | history
program/js/app.js
@@ -2014,14 +2014,18 @@
    if (name && (frame = this.get_frame_element(name))) {
      if (!show && (win = this.get_frame_window(name))) {
        if (win.location && win.location.href.indexOf(this.env.blankpage)<0)
          win.location.href = this.env.blankpage;
        if (win.stop)
          win.stop();
        else // IE
          win.document.execCommand('Stop');
        win.location.href = this.env.blankpage;
      }
      else if (!bw.safari && !bw.konq)
        $(frame)[show ? 'show' : 'hide']();
    }
    if (!show && this.busy)
    if (!show && this.env.frame_lock)
      this.set_busy(false, null, this.env.frame_lock);
  };
program/steps/addressbook/move.inc
@@ -146,8 +146,6 @@
    if ($deleted) {
        rcmail_search_update();
    }
    $OUTPUT->command('list_contacts_clear');
    $OUTPUT->command('list_contacts');
}
else {