thomascube
2008-07-14 e3e597e3b6c9ae10e5c7c1e5592726c71793cfe7
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);");