From 296f0c5bf7e59c46e43c55f968c1e8af603f0073 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Wed, 2 Jan 2013 19:08:21 +0100 Subject: [PATCH] catch exception rised in explorer 8 --- web/Obj/transports.phh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. "); -- 2.17.1