Author: eallen
Date: 2008-08-19 13:48:00 -0400 (Tue, 19 Aug 2008)
New Revision: 2322
Modified:
mgmt/trunk/cumin/python/cumin/widgets.py
Log:
Default form cancel to return to original page.
Modified: mgmt/trunk/cumin/python/cumin/widgets.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/widgets.py 2008-08-19 16:40:10 UTC (rev 2321)
+++ mgmt/trunk/cumin/python/cumin/widgets.py 2008-08-19 17:48:00 UTC (rev 2322)
@@ -162,7 +162,7 @@
self.post_process(session, *args)
def process_cancel(self, session, *args):
- pass
+ self.page.set_redirect_url(session, self.get_origin(session))
def process_submit(self, session, *args):
pass
Show replies by date