# HG changeset patch # User Sylvain Thénault # Date 1284471610 -7200 # Node ID 7832e47d98bc1ffdc994af2d59dc9f9d4c121f94 # Parent 2f5ebeb7665d4ff63230ff9cca53fa794070d552 [basecontroller] we should consume divid to avoid it being reused by the table view, leading to duplicated id (and hence weird rendering) diff -r 2f5ebeb7665d -r 7832e47d98bc web/views/basecontrollers.py --- a/web/views/basecontrollers.py Tue Sep 14 15:39:28 2010 +0200 +++ b/web/views/basecontrollers.py Tue Sep 14 15:40:10 2010 +0200 @@ -352,6 +352,8 @@ stream = view.set_stream() if paginate: if divid == 'pageContent': + # ensure divid isn't reused by the view (e.g. table view) + self._cw.form.pop('divid', None) # mimick main template behaviour stream.write(u'
') vtitle = self._cw.form.get('vtitle')