liquid_feedback_frontend

diff app/main/interest/_action/xhr_update.lua @ 1649:4188405c2425

Rework of suggestion views
author bsw
date Thu Feb 11 15:48:02 2021 +0100 (2021-02-11)
parents 2f9e1e882de6
children
line diff
     1.1 --- a/app/main/interest/_action/xhr_update.lua	Thu Feb 11 15:45:56 2021 +0100
     1.2 +++ b/app/main/interest/_action/xhr_update.lua	Thu Feb 11 15:48:02 2021 +0100
     1.3 @@ -3,7 +3,9 @@
     1.4  
     1.5  slot.set_layout()
     1.6  
     1.7 -if not Interest:update(issue_id, app.session.member, interested) then
     1.8 +if Interest:update(issue_id, app.session.member, interested) then
     1.9 +  slot.put_into("data", "ok")
    1.10 +else
    1.11    request.set_status("500 Internal Server Error")
    1.12  end
    1.13  

Impressum / About Us