[views] Revert previous changeset 8f05aaabf355
Breaks cubicweb/web/test/test_views.py as some views don't have a 'vid'
kwarg.
--- a/web/views/baseviews.py Thu Mar 19 11:30:37 2015 +0100
+++ b/web/views/baseviews.py Mon Jun 22 14:15:16 2015 +0200
@@ -401,11 +401,10 @@
showtitle = kwargs.pop('showtitle', not 'vtitle' in self._cw.form)
if showtitle:
self.w(u'<h1>%s</h1>' % self.title)
- subvid = self._cw.form.pop('subvid', None)
- super(SameETypeListView, self).call(vid=subvid, **kwargs)
+ super(SameETypeListView, self).call(**kwargs)
- def cell_call(self, row, col=0, vid=None, **kwargs):
- self.wview(self.item_vid, self.cw_rset, row=row, col=col, vid=vid, **kwargs)
+ def cell_call(self, row, col=0, **kwargs):
+ self.wview(self.item_vid, self.cw_rset, row=row, col=col, **kwargs)
class SameETypeListItemView(EntityView):