[primary view] give dispctrl to side box views as for relations section stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 12 May 2010 12:19:41 +0200
branchstable
changeset 5519 bdc6a7e724f3
parent 5518 ceea458025b9
child 5520 2d7f135846ee
[primary view] give dispctrl to side box views as for relations section
web/views/primary.py
--- a/web/views/primary.py	Wed May 12 12:18:48 2010 +0200
+++ b/web/views/primary.py	Wed May 12 12:19:41 2010 +0200
@@ -178,7 +178,7 @@
                          DeprecationWarning)
                     label, rset, vid  = box
                 self.w(u'<div class="sideBox">')
-                self.wview(vid, rset, title=label)
+                self.wview(vid, rset, title=label, initargs={'dispctrl': dispctrl})
                 self.w(u'</div>')
             else:
                 try: