From eec34efac2f61ca05fcb7930df39abfc4cd3f503 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 24 Jun 2008 09:51:12 -0400
Subject: [PATCH] Really, really fix host selection (damn, it's too hot)
---
program/include/rcube_json_output.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/program/include/rcube_json_output.php b/program/include/rcube_json_output.php
index 2f65c19..fa56329 100644
--- a/program/include/rcube_json_output.php
+++ b/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);");
--
Gitblit v1.9.1