thomascube
2008-09-02 ed132eddea4a5a21f6f0c1454efa14c5ebe79520
program/include/rcube_json_output.php
@@ -156,7 +156,7 @@
    /**
     * Delete all stored env variables and commands
     */
    public public function reset()
    public function reset()
    {
        $this->env = array();
        $this->texts = array();
@@ -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);");