web/views/tableview.py
branchstable
changeset 5668 7bd6a8a126b8
parent 5632 1e7c662bd6f8
child 5669 1340f14c38c9
--- a/web/views/tableview.py	Fri Jun 04 13:07:07 2010 +0200
+++ b/web/views/tableview.py	Fri Jun 04 13:07:57 2010 +0200
@@ -165,16 +165,13 @@
                                             displayactions)
         elif displayfilter:
             actions += self.show_hide_actions(divid, True)
-        self.w(u'<div id="%s"' % divid)
+        self.w(u'<div id="%s">' % divid)
         if displayactions:
             actionsbycat = self._cw.vreg['actions'].possible_actions(req, self.cw_rset)
             for action in actionsbycat.get('mainactions', ()):
                 for action in action.actual_actions():
                     actions.append( (action.url(), req._(action.title),
                                      action.html_class(), None) )
-            self.w(u' cubicweb:displayactions="1">') # close <div tag
-        else:
-            self.w(u'>') # close <div tag
         # render actions menu
         if actions:
             self.render_actions(divid, actions)