equal
deleted
inserted
replaced
182 |
182 |
183 subclasses should define at least id, rtype and target |
183 subclasses should define at least id, rtype and target |
184 class attributes. |
184 class attributes. |
185 """ |
185 """ |
186 |
186 |
187 def cell_call(self, row, col): |
187 def cell_call(self, row, col, view=None): |
188 self.req.add_js('cubicweb.ajax.js') |
188 self.req.add_js('cubicweb.ajax.js') |
189 entity = self.entity(row, col) |
189 entity = self.entity(row, col) |
190 box = SideBoxWidget(display_name(self.req, self.rtype), self.id) |
190 box = SideBoxWidget(display_name(self.req, self.rtype), self.id) |
191 count = self.w_related(box, entity) |
191 count = self.w_related(box, entity) |
192 if count: |
192 if count: |