liquid_feedback_frontend
diff app/main/delegation/_action/update.lua @ 575:5650f8163a29
Fixed errors from delegation dialog
| author | bsw |
|---|---|
| date | Wed Jun 20 00:22:53 2012 +0200 (2012-06-20) |
| parents | 5ca9de94cb13 |
| children | 403e8c211592 |
line diff
1.1 --- a/app/main/delegation/_action/update.lua Tue Jun 19 23:42:13 2012 +0200 1.2 +++ b/app/main/delegation/_action/update.lua Wed Jun 20 00:22:53 2012 +0200 1.3 @@ -8,6 +8,8 @@ 1.4 1.5 local issue_id = param.get("issue_id", atom.integer) 1.6 1.7 +local initiative_id = param.get("initiative_id", atom.integer) 1.8 + 1.9 if issue_id then 1.10 area_id = nil 1.11 end 1.12 @@ -16,7 +18,7 @@ 1.13 1.14 if preview == "1" then 1.15 request.redirect{ module = "delegation", view = "show", params = { 1.16 - unit_id = unit_id, area_id = area_id, issue_id = issue_id, preview_trustee_id = trustee_id 1.17 + unit_id = unit_id, area_id = area_id, issue_id = issue_id, initiative_id = initiative_id, preview_trustee_id = trustee_id 1.18 } } 1.19 return 1.20 end