diff options
Diffstat (limited to 'html/server/addurl.html')
-rwxr-xr-x | html/server/addurl.html | 10 |
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 |