liquid_feedback_frontend

changeset 950:37e31dd73e45

Removed preview2 mechanism from app/main/vote/list.lua
author jbe
date Thu Nov 08 20:59:50 2012 +0100 (2012-11-08)
parents e616d8f16f14
children 99852ec8ee37
files app/main/vote/list.lua
line diff
     1.1 --- a/app/main/vote/list.lua	Thu Nov 08 20:55:54 2012 +0100
     1.2 +++ b/app/main/vote/list.lua	Thu Nov 08 20:59:50 2012 +0100
     1.3 @@ -4,7 +4,7 @@
     1.4  local member
     1.5  local readonly = false
     1.6  
     1.7 -local preview = param.get("preview") or param.get("preview2") == "1" and true or false
     1.8 +local preview = param.get("preview") and true or false
     1.9  
    1.10  if member_id then
    1.11    if not issue.closed then
    1.12 @@ -475,7 +475,6 @@
    1.13            value = param.get("comment") or direct_voter and direct_voter.comment,
    1.14            attr = { style = "height: 20ex;" },
    1.15          }
    1.16 -        ui.field.hidden{ name = "preview2", attr = { id = "preview2" }, value = "0" }
    1.17          ui.submit{
    1.18            name = "preview",
    1.19            value = _"Preview voting comment",

Impressum / About Us