--- a/web/views/basetemplates.py Thu Feb 12 12:59:12 2009 +0100
+++ b/web/views/basetemplates.py Fri Feb 13 09:28:04 2009 +0100
@@ -75,7 +75,6 @@
- guess and call an appropriate view through the view manager
"""
id = 'main'
- nav_html = UStringIO()
def _select_view_and_rset(self):
req = self.req
@@ -165,6 +164,7 @@
self.req, self.rset)
if etypefilter and etypefilter.propval('visible'):
etypefilter.dispatch(w=self.w)
+ self.nav_html = UStringIO()
self.pagination(self.req, self.rset, self.nav_html.write,
not (view and view.need_navigation))
self.w(_(self.nav_html.getvalue()))