[Mpuls-commits] r1946 - wasko/branches/2.0/jmdweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 15 11:53:07 CET 2010


Author: torsten
Date: 2010-03-15 11:53:07 +0100 (Mon, 15 Mar 2010)
New Revision: 1946

Modified:
   wasko/branches/2.0/jmdweb/controllers/caseappointment.py
Log:
Fixed c-vars


Modified: wasko/branches/2.0/jmdweb/controllers/caseappointment.py
===================================================================
--- wasko/branches/2.0/jmdweb/controllers/caseappointment.py	2010-03-15 10:51:47 UTC (rev 1945)
+++ wasko/branches/2.0/jmdweb/controllers/caseappointment.py	2010-03-15 10:53:07 UTC (rev 1946)
@@ -92,8 +92,8 @@
                                    action='index', id=appointment.case_id)
                 return render('/casemanagement/dialogs/success_create_appointment.mako')
             except formencode.Invalid, error:
-                form_result = error.value
-                form_errors = error.error_dict or {}
+                c.form_result = error.value
+                c.form_errors = error.error_dict or {}
                 form = render('/casemanagement/newAppointment.mako')
                 return formencode.htmlfill.render(unicode(form, 'utf-8'),
                                                   defaults=form_result,



More information about the Mpuls-commits mailing list