webmcp
diff framework/env/slot/__init.lua @ 492:93ebbc1e5dbc
Allow actions to directly return content (e.g. for XMLHttpRequests) by calling slot.set_layout(...) during request handling
author | jbe |
---|---|
date | Tue Jun 27 17:34:02 2017 +0200 (2017-06-27) |
parents | a88662f795e0 |
children |
line diff
1.1 --- a/framework/env/slot/__init.lua Tue Jun 27 15:38:24 2017 +0200 1.2 +++ b/framework/env/slot/__init.lua Tue Jun 27 17:34:02 2017 +0200 1.3 @@ -4,6 +4,7 @@ 1.4 1.5 slot._current_layout = "default" 1.6 slot._content_type = nil 1.7 + slot._layout_set = false 1.8 1.9 slot._data = nil 1.10 slot.reset_all()