[Mpuls-commits] r2414 - wasko/branches/2.0/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Apr 19 15:54:21 CEST 2010


Author: torsten
Date: 2010-04-19 15:54:21 +0200 (Mon, 19 Apr 2010)
New Revision: 2414

Modified:
   wasko/branches/2.0/mpulsweb/controllers/casedocument.py
Log:
* mpulsweb/controllers/casedocument.py
	(CasedocumentController.delete): Wald #1401: Fixed render call.


Modified: wasko/branches/2.0/mpulsweb/controllers/casedocument.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/casedocument.py	2010-04-19 13:50:51 UTC (rev 2413)
+++ wasko/branches/2.0/mpulsweb/controllers/casedocument.py	2010-04-19 13:54:21 UTC (rev 2414)
@@ -110,8 +110,7 @@
             c.success_for = SET_ATTACHMENT_SUCCESS_DELETE_HEADER
             c.success_text = SET_ATTACHMENT_SUCCESS_DELETE_TEXT
             return render('/casemanagement/dialogs/'
-                          'success_delete_attachment.mako',
-                          id=session['case'].id)
+                          'success_delete_attachment.mako')
         else:
             c.context = "../main.mako"
             c.confirm_for = SET_ATTACHMENT_CONFIRM_DELETE_HEADER



More information about the Mpuls-commits mailing list