| | |
| | | private $texts = array(); |
| | | private $commands = array(); |
| | | |
| | | public $type = 'js'; |
| | | public $ajax_call = true; |
| | | |
| | | |
| | |
| | | /** |
| | | * Delete all stored env variables and commands |
| | | */ |
| | | public public function reset() |
| | | public function reset() |
| | | { |
| | | $this->env = array(); |
| | | $this->texts = array(); |
| | |
| | | * @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);"); |