branch | tls-sprint |
changeset 1138 | 22f634977c95 |
parent 1132 | 96752791c2b6 |
child 1154 | 9b23a6836c32 |
--- a/web/views/baseforms.py Mon Mar 23 18:53:53 2009 +0100 +++ b/web/views/baseforms.py Wed Mar 25 10:40:22 2009 +0100 @@ -68,6 +68,13 @@ </form> ''' + def initialize_varmaker(self): + varmaker = self.req.get_page_data('rql_varmaker') + if varmaker is None: + varmaker = self.req.varmaker + self.req.set_page_data('rql_varmaker', varmaker) + self.varmaker = varmaker + def cell_call(self, row, col, **kwargs): self.req.add_js( ('cubicweb.ajax.js', ) ) entity = self.complete_entity(row, col)