[geeklog-devtalk] COM_refresh not working in Firefox on OS X
Andrew N.Gray
andrew at graymerica.com
Wed Jan 5 11:04:58 EST 2005
I have noticed that once I submit a change to a static page, I got a
blank page that only contained a meta refresh. There is a bug in
firefox, I guess, (https://bugzilla.mozilla.org/show_bug.cgi?id=209020)
that stops the meta refresh from working.
I made the following change to COM-refresh to solve the problem, it
seems to work now,
Andrew
function COM_refresh( $url )
{
$str = "<html><head><meta http-equiv=\"refresh\" content=\"0;
URL=$url\"></head></html>\n";
$str .= "<SCRIPT LANGUAGE='JavaScript'>
window.location='$url';</SCRIPT>" ;
return ($str) ;
}
More information about the geeklog-devtalk
mailing list