diff -r 9fc69c46e5e7 -r 5e550c6e554c web/views/baseforms.py --- a/web/views/baseforms.py Mon Dec 08 11:46:49 2008 +0100 +++ b/web/views/baseforms.py Mon Dec 08 14:47:07 2008 +0100 @@ -118,7 +118,7 @@ self.w(u'\n' % (eid_param('state', eid), dest.eid)) self.w(u'\n' - % html_escape(entity.rest_path())) + % html_escape(self.redirectpath(entity))) self.fill_form(entity, state, dest) self.w(u'\n') self.w(self.button_ok(label=stdmsgs.YES, tabindex=self.req.next_tabindex())) @@ -144,6 +144,9 @@ self.w(u'
\n' % (cformname, self.req.next_tabindex())) + def redirectpath(self, entity): + return entity.rest_path() + class ClickAndEditForm(EntityForm): id = 'reledit'