fix EditRelationBoxTemplate: the box might be passed an additional 'view' paraemter 3.0
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 21 Jan 2009 19:26:35 +0100
branch3.0
changeset 454 c35c318e6be5
parent 436 0e4fb0a257ab
child 455 c4b630e7d0f8
child 458 99712f0d5472
fix EditRelationBoxTemplate: the box might be passed an additional 'view' paraemter
web/box.py
--- a/web/box.py	Thu Jan 15 17:35:01 2009 +0100
+++ b/web/box.py	Wed Jan 21 19:26:35 2009 +0100
@@ -185,7 +185,7 @@
     class attributes.
     """
     
-    def cell_call(self, row, col):
+    def cell_call(self, row, col, view=None):
         self.req.add_js('cubicweb.ajax.js')
         entity = self.entity(row, col)
         box = SideBoxWidget(display_name(self.req, self.rtype), self.id)