Fix redirect

This commit is contained in:
Jamie Cameron
2009-02-08 20:15:04 +00:00
parent 61a323007e
commit f09faa8357

View File

@ -2355,6 +2355,7 @@ my ($url, $window) = @_;
if (defined(&theme_js_redirect)) {
return &theme_js_redirect(@_);
}
$window ||= "window";
return "<script>${window}.location = '".&quote_escape($url)."';</script>\n";
}