Close link fixed in surfbar
[mailer.git] / templates / de / html / surfbar / surfbar_frame_top.tpl
index 8038a14cadd969f06c672038758d8db8697bdafe..0717db8ce358b5c2eb4990894c928cce88e6d6b7 100644 (file)
@@ -10,7 +10,7 @@
                 &raquo;<a href="$content[url]" target="_blank">Aktuelle Seite in neuem
                 Fenster &ouml;ffnen</a>&laquo;<br />&nbsp;[<a
                  href="{!URL!}/modules.php?module=index&amp;what=logout">Ausloggen</a>|<a
-                 href="javascript:close()">Schliessen</a>]
+                 href="javascript:window.close()">Schliessen</a>]
 
                &raquo;{!MAIN_TITLE!} ist f&uuml;r den Inhalt nicht verantwortlich!&laquo;
        </td>
@@ -32,6 +32,10 @@ function Confirm() {
        parent.surfbar_url.location="{!URL!}/surfbar.php?id=$content[id]&check=$content[check]&salt=$content[salt]";
 }
 
+function ReloadThis() {
+       this.location.reload();
+}
+
 function StartCounter() {
        if (currCounter < 1) {
                return false;
@@ -43,7 +47,7 @@ function StartCounter() {
        if (currCounter == 0) {
                clearInterval(countDown);
                Confirm();
-               this.location.reload();
+               window.setTimeout("ReloadThis()", 500);
        }
 }