web/views/cwproperties.py
branchtls-sprint
changeset 1670 41deb5175729
parent 1659 838eaecaa458
child 1721 694f6a50e138
--- a/web/views/cwproperties.py	Mon May 04 17:24:43 2009 +0200
+++ b/web/views/cwproperties.py	Tue May 05 08:55:47 2009 +0200
@@ -50,7 +50,7 @@
 
 def make_togglable_link(nodeid, label, cookiename):
     """builds a HTML link that switches the visibility & remembers it"""
-    action = u"javascript: toggle_and_remember_visibility('%s', '%s')" % \
+    action = u"javascript: toggleVisibility('%s', '%s')" % \
         (nodeid, cookiename)
     return u'<a href="%s">%s</a>' % (action, label)