[tableview] fix bad attribute name
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Sat, 22 Oct 2011 11:16:14 +0200
changeset 8007 dfbf0c43ee13
parent 8006 32d7682991ce
child 8009 75638a6ff159
[tableview] fix bad attribute name
web/views/tableview.py
--- a/web/views/tableview.py	Fri Oct 21 18:37:30 2011 +0200
+++ b/web/views/tableview.py	Sat Oct 22 11:16:14 2011 +0200
@@ -294,8 +294,8 @@
         else:
             c1, d1 = None, '%sShow' % divid
             c2, d2 = 'hidden', '%sHide' % divid
-        return [component.Link(showhide, showlabel, klass=c1, ident=d1),
-                component.Link(showhide, hidelabel, klass=c2, ident=d2)]
+        return [component.Link(showhide, showlabel, klass=c1, id=d1),
+                component.Link(showhide, hidelabel, klass=c2, id=d2)]
 
 
 class AbstractColumnRenderer(object):