web/views/basecomponents.py
changeset 29 7d14f1eadded
parent 0 b97547f5f1fa
child 142 0425ee84cfa6
--- a/web/views/basecomponents.py	Wed Nov 12 16:07:40 2008 +0100
+++ b/web/views/basecomponents.py	Wed Nov 12 16:09:03 2008 +0100
@@ -102,7 +102,7 @@
     def anon_user_link(self):
         if self.config['auth-mode'] == 'cookie':
             self.w(self.req._('anonymous'))
-            self.w(u'''&nbsp;[<a class="logout" href="javascript:toggleVisibility('popupLoginBox'); document.login_form.__login.focus() ">%s</a>]'''
+            self.w(u'''&nbsp;[<a class="logout" href="javascript: popupLoginBox();">%s</a>]'''
                    % (self.req._('i18n_login_popup')))
         else:
             self.w(self.req._('anonymous'))