webmcp

view demo-app/app/main/index/_action/logout.lua @ 52:2a3257f29c02

Added "return false" to onclick event of action links with href="#"
author jbe
date Fri Jun 10 14:58:22 2011 +0200 (2011-06-10)
parents 9fdfb27f8e67
children
line source
1 if app.session then
2 app.session:destroy()
3 slot.put_into("notice", _"Logout successful")
4 end

Impressum / About Us