web/request.py
branchstable
changeset 8730 d4d9f33fd01b
parent 8728 75be9de9d68e
child 8732 0d9c8f5eb285
--- a/web/request.py	Wed Mar 13 19:23:22 2013 +0100
+++ b/web/request.py	Wed Mar 13 18:36:49 2013 +0100
@@ -714,6 +714,9 @@
         # after having url unescaping the content. This may make appear some
         # quote or other special characters that will break the js expression.
         extraparams.setdefault('fname', 'view')
+        # remove pageid from the generated URL as it's forced as a parameter
+        # to the loadxhtml call below.
+        extraparams.pop('pageid', None)
         url = self.build_url('ajax', **extraparams)
         cbname = build_cb_uid(url[:50])
         # think to propagate pageid. XXX see https://www.cubicweb.org/ticket/1753121