equal
deleted
inserted
replaced
128 |
128 |
129 def url(self): |
129 def url(self): |
130 params = self._cw.form.copy() |
130 params = self._cw.form.copy() |
131 for param in ('vid', '__message') + controller.NAV_FORM_PARAMETERS: |
131 for param in ('vid', '__message') + controller.NAV_FORM_PARAMETERS: |
132 params.pop(param, None) |
132 params.pop(param, None) |
133 if self._cw.json_request: |
133 if self._cw.ajax_request: |
134 path = 'view' |
134 path = 'view' |
135 if self.cw_rset is not None: |
135 if self.cw_rset is not None: |
136 params = {'rql': self.cw_rset.printable_rql()} |
136 params = {'rql': self.cw_rset.printable_rql()} |
137 else: |
137 else: |
138 path = self._cw.relative_path(includeparams=False) |
138 path = self._cw.relative_path(includeparams=False) |