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