liquid_feedback_frontend

annotate app/main/index/_action/set_lang.lua @ 172:165f4bd02cf3

don't show the first draft of a new initiative as a new draft event in the timeline

new draft should only show changes of drafts drafts of new initiatives as they are handled by the new initiative event
author Daniel Poelzleithner <poelzi@poelzi.org>
date Sun Oct 10 19:40:32 2010 +0200 (2010-10-10)
parents a3ac899559de
children c587d8762e62
rev   line source
bsw/jbe@4 1 local lang = param.get("lang")
bsw@15 2 if lang == "de" or lang == "en" or lang == "eo" then
bsw/jbe@4 3 app.session.lang = param.get("lang")
bsw/jbe@4 4 app.session:save()
bsw/jbe@4 5 end

Impressum / About Us