summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-11 15:30:19 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-11 15:30:19 +0000
commit55ae47cbb3bc219c5b381b29643d43fbfe644203 (patch)
treeb3d5e2c8c5e01c76ff1849fbcef6e72be9db0f78 /roundcubemail/program/steps/mail
parente190d37a300d93741ba9e7c31c39353d64986c01 (diff)
Force page reload if list columns changed in IE8 (#1487822)
git-svn-id: https://svn.roundcube.net/trunk@6060 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/list.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/list.inc b/roundcubemail/program/steps/mail/list.inc
index dad86663a..930758354 100644
--- a/roundcubemail/program/steps/mail/list.inc
+++ b/roundcubemail/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();