# HG changeset patch # User jbe # Date 1352404790 -3600 # Node ID 37e31dd73e451bf64754da9633d0d43379d85136 # Parent e616d8f16f1477a9f33f957d0932539c0506d958 Removed preview2 mechanism from app/main/vote/list.lua diff -r e616d8f16f14 -r 37e31dd73e45 app/main/vote/list.lua --- a/app/main/vote/list.lua Thu Nov 08 20:55:54 2012 +0100 +++ b/app/main/vote/list.lua Thu Nov 08 20:59:50 2012 +0100 @@ -4,7 +4,7 @@ local member local readonly = false -local preview = param.get("preview") or param.get("preview2") == "1" and true or false +local preview = param.get("preview") and true or false if member_id then if not issue.closed then @@ -475,7 +475,6 @@ value = param.get("comment") or direct_voter and direct_voter.comment, attr = { style = "height: 20ex;" }, } - ui.field.hidden{ name = "preview2", attr = { id = "preview2" }, value = "0" } ui.submit{ name = "preview", value = _"Preview voting comment",