summaryrefslogtreecommitdiff
path: root/html/server/step3.html
diff options
context:
space:
mode:
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}