author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 16 Sep 2010 15:40:54 +0200 | |
branch | stable |
changeset 6265 | 27417b8b94ed |
parent 6264 | 0dcd19d89767 |
child 6266 | de588e756f4f |
web/component.py | file | annotate | diff | comparison | revisions |
--- a/web/component.py Thu Sep 16 14:11:12 2010 +0200 +++ b/web/component.py Thu Sep 16 15:40:54 2010 +0200 @@ -151,7 +151,7 @@ def ajax_page_url(self, **params): divid = params.setdefault('divid', 'pageContent') - params.setdefault('rql', self.cw_rset.printable_rql()) + params['rql'] = self.cw_rset.printable_rql() return "javascript: $(%s).loadxhtml('json', %s, 'get', 'swap')" % ( json_dumps('#'+divid), js.ajaxFuncArgs('view', params))