equal
deleted
inserted
replaced
114 else: |
114 else: |
115 url = self._cw.build_url(path, **params) |
115 url = self._cw.build_url(path, **params) |
116 # XXX hack to avoid opening a new page containing the evaluation of the |
116 # XXX hack to avoid opening a new page containing the evaluation of the |
117 # js expression on ajax call |
117 # js expression on ajax call |
118 if url.startswith('javascript:'): |
118 if url.startswith('javascript:'): |
119 url += '; noop();' |
119 url += '; $.noop();' |
120 return url |
120 return url |
121 |
121 |
122 def ajax_page_url(self, **params): |
122 def ajax_page_url(self, **params): |
123 divid = params.setdefault('divid', 'pageContent') |
123 divid = params.setdefault('divid', 'pageContent') |
124 params['rql'] = self.cw_rset.printable_rql() |
124 params['rql'] = self.cw_rset.printable_rql() |