web/views/iprogress.py
changeset 4232 d9d031d68be2
parent 4211 eac4b23a42ff
child 4252 6c4f109c2b03
--- a/web/views/iprogress.py	Wed Jan 13 16:01:53 2010 +0100
+++ b/web/views/iprogress.py	Wed Jan 13 16:07:54 2010 +0100
@@ -184,7 +184,7 @@
 
     def cell_call(self, row, col):
         self._cw.add_css('cubicweb.iprogress.css')
-        self.req.add_js('cubicweb.iprogress.js')
+        self._cw.add_js('cubicweb.iprogress.js')
         entity = self.cw_rset.get_entity(row, col)
         widget = ProgressBarWidget(entity.done, entity.todo,
                                    entity.revised_cost)