X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_rd.php;h=8055c20ca165d44940c5efd7ccc8ed1735d36bdb;hb=1f93e1d341ffdad5636b20254ac6cc932029f734;hp=8c9576d87f9047a2c7795be04416009bddaa716b;hpb=ba124be15839e2a62fa793b70869e0209f8daf90;p=brisk.git diff --git a/web/briskin5/index_rd.php b/web/briskin5/index_rd.php index 8c9576d..8055c20 100644 --- a/web/briskin5/index_rd.php +++ b/web/briskin5/index_rd.php @@ -2,7 +2,7 @@ /* * brisk - index_rd.php * - * Copyright (C) 2006-2008 Matteo Nastasi + * Copyright (C) 2006-2009 Matteo Nastasi * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it @@ -58,7 +58,7 @@ function unrecerror() $is_page_streaming = TRUE; log_rd2("UNREC_ERROR"); - return (sprintf('the_end=true; window.onunload = null; document.location.assign("../index.php");')); + return (sprintf('the_end=true; window.onbeforeunload = null; window.onunload = null; document.location.assign("../index.php");')); } function page_sync($sess, $page) @@ -67,7 +67,7 @@ function page_sync($sess, $page) $is_page_streaming = TRUE; log_rd2("PAGE_SYNC"); - return (sprintf('the_end=true; window.onunload = null; document.location.assign("%s");', $page)); + return (sprintf('the_end=true; window.onbeforeunload = null; window.onunload = null; document.location.assign("%s");', $page)); }