summaryrefslogtreecommitdiff
path: root/html/server/step3.html
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-19 13:00:51 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-19 13:00:51 +0000
commit1ecdfbe3b855b1f13bcddccc20135f7e35f171a6 (patch)
tree253b431bc06ce806ee47aa7b7c4285da8c5503d6 /html/server/step3.html
parent4aec03f2cbabc19cf31e7d6f9fdcd6c84cfa861e (diff)
httrack 3.43.12
Diffstat (limited to 'html/server/step3.html')
-rwxr-xr-xhtml/server/step3.html29
1 files changed, 8 insertions, 21 deletions
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}
<input type="hidden" name="sid" value="${sid}">
<input type="hidden" name="redirect" value="">
-<script language="javascript">
-<!--
-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);
-}
-function do_check_child() {
-if (childWn && childWn.document.location=="about:blank") {
-setTimeout(do_check_child, 500);
-} else if (childWn) {
-childWn.document.wparent=document;
-}
-}
-// -->
-</script>
-
<table border="0" width="100%">
<tr><td>
${LANG_G31}