--- a/web/views/navigation.py Fri Mar 14 10:51:05 2014 +0100
+++ b/web/views/navigation.py Mon Mar 24 16:29:18 2014 +0100
@@ -55,7 +55,6 @@
from logilab.mtconverter import xml_escape
from logilab.common.deprecation import deprecated
-from cubicweb.utils import json_dumps
from cubicweb.predicates import paginated_rset, sorted_rset, adaptable
from cubicweb.uilib import cut
from cubicweb.view import EntityAdapter
@@ -281,13 +280,6 @@
nav = req.vreg['components'].select_or_none(
'navigation', req, rset=rset, page_size=page_size, view=view)
if nav:
- domid = getattr(view, 'domid', 'pageContent')
- view._cw.add_onload('''
- jQuery('div.displayAllLink a, div.pagination a').click(function() {
- cw.jqNode(%s).loadxhtml(this.href, null, 'get', 'swap');
- return false;
- });
- ''' % json_dumps(domid))
if w is None:
w = view.w
if req.form.get('__force_display'):