diff options
author | thomascube <thomas@roundcube.net> | 2012-04-11 15:30:19 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-04-11 15:30:19 +0000 |
commit | c97c5756710f651873e4e7c600d46fba917d43c7 (patch) | |
tree | 89058d36e6328ec12cc2b62c6310c84e2ebf6f80 /program/steps/mail | |
parent | 1ba07f070998d32d115d90d0d73db2dca59c4690 (diff) |
Force page reload if list columns changed in IE8 (#1487822)
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/list.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc index dad86663a..930758354 100644 --- a/program/steps/mail/list.inc +++ b/program/steps/mail/list.inc @@ -51,9 +51,15 @@ if ($cols = get_input_value('_cols', RCUBE_INPUT_GET)) $save_arr['list_cols'] = explode(',', $cols); } -if ($save_arr) +if ($save_arr) { $RCMAIL->user->save_prefs($save_arr); + // force page reload if list columns changed in IE8 (#1487822) + if ($save_arr['list_cols'] && $OUTPUT->browser->ie && $OUTPUT->browser->ver == 8) { + $OUTPUT->redirect(array('_mbox' => $RCMAIL->storage->get_folder()), 0); + } +} + $mbox_name = $RCMAIL->storage->get_folder(); $threading = (bool) $RCMAIL->storage->get_threading(); |