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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 30 14:36:50 CEST 2010


Author: torsten
Date: 2010-07-30 14:36:48 +0200 (Fri, 30 Jul 2010)
New Revision: 3281

Modified:
   base/trunk/mpulsweb/controllers/logbook.py
Log:
* mpulsweb/controllers/logbook.py (LogbookController.delete):
	Issue912: Fixed deleting of logbook entrys. Fixed link for
	success-dialog.


Modified: base/trunk/mpulsweb/controllers/logbook.py
===================================================================
--- base/trunk/mpulsweb/controllers/logbook.py	2010-07-30 12:15:48 UTC (rev 3280)
+++ base/trunk/mpulsweb/controllers/logbook.py	2010-07-30 12:36:48 UTC (rev 3281)
@@ -248,7 +248,7 @@
                 Logbook().deleteEntryById(int(id))
                 c.success_for = LOGBOOK_ENTRY_DELETE_SUCCESS
                 c.success_text = LOGBOOK_ENTRY_DELETE_SUCCESS_TEXT
-                c.url_ok = url_for(controller='/case', action='logbook',
+                c.url_ok = url_for(controller='logbook', action='index',
                                    id=session['case'].id)
                 return render('/logbook/dialogs/success_delete_logbook_entry.mako')
             except Exception, e:



More information about the Mpuls-commits mailing list