[Mpuls-commits] r5713 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 15 12:44:23 CET 2011


Author: torsten
Date: 2011-12-15 12:44:21 +0100 (Thu, 15 Dec 2011)
New Revision: 5713

Modified:
   base/trunk/mpulsweb/controllers/privacy.py
Log:
Recall "select" of case controller after signing the privacy statement. This
way it is possible to trigger following checks (syncpermission) after the
privacy statement has been set.


Modified: base/trunk/mpulsweb/controllers/privacy.py
===================================================================
--- base/trunk/mpulsweb/controllers/privacy.py	2011-12-15 11:37:03 UTC (rev 5712)
+++ base/trunk/mpulsweb/controllers/privacy.py	2011-12-15 11:44:21 UTC (rev 5713)
@@ -63,7 +63,7 @@
             c.dialog_title = _(u"Privacy statement set!")
             c.dialog_text = _(u'Please click Bitte klick "OK" to continue work'
                     ' on the case')
-            c.url_ok = h.url_for(controller="/case", action="digest",
+            c.url_ok = h.url_for(controller="/case", action="select",
                                  id=case.id)
             return render('privacy/dialogs/accept_success.mako')
         else:



More information about the Mpuls-commits mailing list