summaryrefslogtreecommitdiff
path: root/html/server/addurl.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/addurl.html
parent4aec03f2cbabc19cf31e7d6f9fdcd6c84cfa861e (diff)
httrack 3.43.12
Diffstat (limited to 'html/server/addurl.html')
-rwxr-xr-xhtml/server/addurl.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/html/server/addurl.html b/html/server/addurl.html
index 21a0953..41b0f07 100755
--- a/html/server/addurl.html
+++ b/html/server/addurl.html
@@ -78,14 +78,20 @@ h4 { margin: 0; font-weight: bold; font-size: 1.18em; }
<script language="javascript">
<!--
+
+// initialize wparent to false if necessary (Konqueror bug workaround)
+if ((typeof wparent) == "undefined") {
+ wparent=false;
+}
+
function do_load() {
window.status=' ';
}
function do_unload() {
}
function do_add() {
- if (document.wparent)
- pparent = document.wparent;
+ if (wparent)
+ pparent = wparent;
else if (parent && parent.document)
pparent = parent.document;
if (pparent