From 004c6d11d848004aa75cf44b375208bbe9014043 Mon Sep 17 00:00:00 2001 From: totoro Date: Mon, 13 Mar 2023 14:57:51 +0100 Subject: [PATCH] [-] remove the redraw and replace by partial_content, but I don't remember the real reason for that and the purpose --- web/controllers_web_site.anubis | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/web/controllers_web_site.anubis b/web/controllers_web_site.anubis index 4383f11..75cbe60 100644 --- a/web/controllers_web_site.anubis +++ b/web/controllers_web_site.anubis @@ -258,11 +258,23 @@ public define WEB_Controller_Result renderer_content(success(session), content) . - public define WEB_Controller_Result - redraw( +public define WEB_Controller_Result + partial_content + ( HTML_Partial_Content content, )= - redraw(failure, content) + http_answer(html_page( + "", // title of web site + [], // list of 'META' tags (empty for this site) + body // body of page + ( + // list of body options + [], + + // content of page + partial(content) + )) + ) . -- libgit2 0.21.4