From: Matteo Nastasi (mop) Date: Wed, 2 Jan 2013 18:08:21 +0000 (+0100) Subject: catch exception rised in explorer 8 X-Git-Tag: v4.5.1~2 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=296f0c5bf7e59c46e43c55f968c1e8af603f0073;p=brisk.git catch exception rised in explorer 8 --- diff --git a/web/Obj/transports.phh b/web/Obj/transports.phh index 0f0e4a7..e0b11ee 100644 --- a/web/Obj/transports.phh +++ b/web/Obj/transports.phh @@ -123,7 +123,7 @@ var xynt_streaming = \"ready\";", $base, $base); if ($step > 0) $ret .= sprintf("last_clean = %d;\n", ($step-1)); $ret .= sprintf(" -window.onload = function () { if (xynt_streaming != \"ready\") { xynt_streaming.transp.stopped = true; } }; +window.onload = function () { try { if (xynt_streaming != \"ready\") { xynt_streaming.transp.stopped = true; } } catch(e) { /* console.log(\"catcha\"); */ } }; "); @@ -142,7 +142,7 @@ window.onload = function () { if (xynt_streaming != \"ready\") { xynt_streaming. ");