From 1ecdfbe3b855b1f13bcddccc20135f7e35f171a6 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Mon, 19 Mar 2012 13:00:51 +0000 Subject: httrack 3.43.12 --- html/server/step3.html | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) (limited to 'html/server/step3.html') diff --git a/html/server/step3.html b/html/server/step3.html index a1b035f..f085101 100755 --- a/html/server/step3.html +++ b/html/server/step3.html @@ -99,13 +99,16 @@ function info(str) { } function doOpenWindow() { childWn=window.open('addurl.html', 'addurl', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, width=640, height=480'); - setTimeout(do_check_child, 500); + setTimeout("do_check_child()", 100); } function do_check_child() { - if (childWn && childWn.document.location=="about:blank") { - setTimeout(do_check_child, 500); - } else if (childWn) { - childWn.document.wparent=document; + if (childWn && childWn.document) { + if ((typeof childWn.wparent) == "undefined") { + childWn.wparent=document; + setTimeout("do_check_child()", 1000); + } else { + childWn.wparent=document; + } } } // --> @@ -178,22 +181,6 @@ ${do:end-if} - -
${LANG_G31} -- cgit v1.2.3