diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-07-09 10:55:25 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-07-09 10:55:25 +0200 |
commit | 7e7e451b66a30d2798c3194330bdf42cd74561fe (patch) | |
tree | 302d4236af561a5f39a436f68374123cd713ff8a /index.php | |
parent | 3fec3e04f6dbe5e06b241e197c9070875e7da5e9 (diff) |
Warn for unsent/unsaved message when closing compose window; remove localStorage copy if page was left intentionally but not on session errors (#1489818)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ if (empty($RCMAIL->user->ID)) { $OUTPUT->show_message('sessionerror', 'error', null, true, -1); } - if ($OUTPUT->ajax_call || $OUTPUT->framed) { + if ($OUTPUT->ajax_call || $OUTPUT->get_env('framed')) { $OUTPUT->command('session_error', $RCMAIL->url(array('_err' => 'session'))); $OUTPUT->send('iframe'); } |