diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_json_output.php | 2 | ||||
-rw-r--r-- | program/steps/mail/list.inc | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/program/include/rcube_json_output.php b/program/include/rcube_json_output.php index f062d4b71..99f08f5c9 100644 --- a/program/include/rcube_json_output.php +++ b/program/include/rcube_json_output.php @@ -212,7 +212,7 @@ class rcube_json_output public function redirect($p = array(), $delay = 1) { $location = rcmail::get_instance()->url($p); - $this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);", JS_OBJECT_NAME, $location, $delay)); + $this->remote_response("window.setTimeout(\"location.href='{$location}'\", $delay);"); exit; } diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc index 930758354..dad86663a 100644 --- a/program/steps/mail/list.inc +++ b/program/steps/mail/list.inc @@ -51,15 +51,9 @@ 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(); |