alecpl
2012-04-16 be98dfc2c0bdc4f911c6daa94e3fddc29afc89a8
program/include/rcube_output_json.php
@@ -170,7 +170,7 @@
     */
    public function redirect($p = array(), $delay = 1)
    {
        $location = rcmail::get_instance()->url($p);
        $location = $this->app->url($p);
        $this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);",
            rcmail::JS_OBJECT_NAME, $location, $delay));
        exit;