cubicweb/web/views/boxes.py
changeset 11874 ea1d92b677b5
parent 11767 432f87a63057
child 11875 011730a4af73
--- a/cubicweb/web/views/boxes.py	Fri Nov 18 18:19:10 2016 +0100
+++ b/cubicweb/web/views/boxes.py	Wed Nov 23 17:19:51 2016 +0100
@@ -67,7 +67,7 @@
         self._menus_by_id = {}
         # build list of actions
         actions = self._cw.vreg['actions'].possible_actions(self._cw, self.cw_rset,
-                                                            **self.cw_extra_kwargs)
+                                                            view=self.cw_extra_kwargs['view'])
         other_menu = self._get_menu('moreactions', _('more actions'))
         for category, defaultmenu in (('mainactions', self),
                                       ('moreactions', other_menu),