[navigation] use pageContent instead of paginated-content as default div id, paginated-content doesn't seems used anymore stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 02 Jun 2010 13:00:27 +0200
branchstable
changeset 5624 865c1779cc84
parent 5623 a01aa5b26e66
child 5625 6ee2a7b6f194
[navigation] use pageContent instead of paginated-content as default div id, paginated-content doesn't seems used anymore
web/component.py
--- a/web/component.py	Wed Jun 02 12:59:37 2010 +0200
+++ b/web/component.py	Wed Jun 02 13:00:27 2010 +0200
@@ -137,7 +137,7 @@
             rql = params.pop('rql', self.cw_rset.printable_rql())
             # latest 'true' used for 'swap' mode
             url = 'javascript: replacePageChunk(%s, %s, %s, %s, true)' % (
-                json.dumps(params.get('divid', 'paginated-content')),
+                json.dumps(params.get('divid', 'pageContent')),
                 json.dumps(rql), json.dumps(params.pop('vid', None)), json.dumps(params))
         else:
             url = self._cw.build_url(path, **params)