[boxes] 3.13.2 regression: should specify dom id else we may generate bad xhtml stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 21 Jul 2011 08:41:12 +0200
branchstable
changeset 7679 c4803e94b8a4
parent 7678 ab3d1a77be55
child 7680 b195b0c003ac
[boxes] 3.13.2 regression: should specify dom id else we may generate bad xhtml
web/views/boxes.py
--- a/web/views/boxes.py	Thu Jul 21 07:54:04 2011 +0200
+++ b/web/views/boxes.py	Thu Jul 21 08:41:12 2011 +0200
@@ -185,7 +185,7 @@
 
     def render_body(self, w):
         for category, views in box.sort_by_category(self.views):
-            menu = htmlwidgets.BoxMenu(self._cw._(category))
+            menu = htmlwidgets.BoxMenu(self._cw._(category), ident=category)
             for view in views:
                 menu.append(self.action_link(view))
             self.append(menu)