liquid_feedback_frontend

diff env/lf4rcs/init.lua @ 1309:32cc544d5a5b

Cumulative patch for upcoming frontend version 4
author bsw/jbe
date Sun Jul 15 14:07:29 2018 +0200 (2018-07-15)
parents 30523f31b186
children
line diff
     1.1 --- a/env/lf4rcs/init.lua	Thu Jun 23 03:30:57 2016 +0200
     1.2 +++ b/env/lf4rcs/init.lua	Sun Jul 15 14:07:29 2018 +0200
     1.3 @@ -1,9 +1,7 @@
     1.4  function lf4rcs.init()
     1.5 -  local super_handler = config.notification_handler_func
     1.6 -  config.notification_handler_func = function(event)
     1.7 -    if super_handler then super_handler(event) end
     1.8 +  Event.add_handler(function(event)
     1.9      lf4rcs.notification_handler(event)
    1.10 -  end
    1.11 +  end)
    1.12    config.render_external_reference = {
    1.13      draft = lf4rcs.render_draft_reference,
    1.14      initiative = lf4rcs.render_initiative_reference

Impressum / About Us