thomascube
2008-06-20 fde466c58c004e8f7eff7b59c78f62eef250cde9
program/include/rcube_json_output.php
@@ -169,7 +169,7 @@
     * @param mixed Either a string with the action or url parameters as key-value pairs
     * @see rcmail::url()
     */
    public function redirect($p = array(), $delay = 0)
    public function redirect($p = array(), $delay = 1)
    {
        $location = rcmail::get_instance()->url($p);
        $this->remote_response("window.setTimeout(\"location.href='{$location}'\", $delay);");