Commit 004c6d11d848004aa75cf44b375208bbe9014043

Authored by David RENÉ
1 parent e544971f

[-] remove the redraw and replace by partial_content, but I don't remember the r…

…eal reason for that and the purpose
Showing 1 changed file with 15 additions and 3 deletions   Show diff stats
web/controllers_web_site.anubis
... ... @@ -258,11 +258,23 @@ public define WEB_Controller_Result
258 258 renderer_content(success(session), content)
259 259 .
260 260  
261   - public define WEB_Controller_Result
262   - redraw(
  261 +public define WEB_Controller_Result
  262 + partial_content
  263 + (
263 264 HTML_Partial_Content content,
264 265 )=
265   - redraw(failure, content)
  266 + http_answer(html_page(
  267 + "", // title of web site
  268 + [], // list of 'META' tags (empty for this site)
  269 + body // body of page
  270 + (
  271 + // list of body options
  272 + [],
  273 +
  274 + // content of page
  275 + partial(content)
  276 + ))
  277 + )
266 278 .
267 279  
268 280  
... ...