diff -r 7070250bf50d -r 0a927fe4541b web/views/actions.py --- a/web/views/actions.py Fri Dec 09 12:14:11 2011 +0100 +++ b/web/views/actions.py Fri Dec 16 12:30:12 2011 +0100 @@ -130,7 +130,7 @@ params = self._cw.form.copy() for param in ('vid', '__message') + controller.NAV_FORM_PARAMETERS: params.pop(param, None) - if self._cw.json_request: + if self._cw.ajax_request: path = 'view' if self.cw_rset is not None: params = {'rql': self.cw_rset.printable_rql()}