diff --git a/calexium_lib/web/CXM_making_a_web_site.anubis b/calexium_lib/web/CXM_making_a_web_site.anubis
index 8c1ec8f..d4d4bd6 100644
--- a/calexium_lib/web/CXM_making_a_web_site.anubis
+++ b/calexium_lib/web/CXM_making_a_web_site.anubis
@@ -2114,6 +2114,7 @@ public define Web_Site
(
List(String) common_names, // for example: ["www.our-business.com"]
String site_directory,
+ String state_directory,
One -> One init,
(HTTP_Info) -> (Maybe($SessionTicket), Maybe($State), List(HTTP_header)) initial_state,
($State expired,
@@ -2143,7 +2144,7 @@ public define Web_Site
//
with web_sites_directory = make_directory(my_anubis_directory+"/web_sites"),
base_directory = make_directory(site_directory),
- state_directory = make_directory(site_directory+"/states"),
+ // state_directory = make_directory(site_directory+"/states"),
forget(make_directory(site_directory+"/public"));
//
// construct tool functions
@@ -2656,7 +2657,7 @@ public define Printable_tree
if l is
{
[ ] then [ ],
- [h . t] then ["\n" . format_choices(t)]
}.
@@ -2670,8 +2671,8 @@ public define Printable_tree
{
[ ] then [ ],
[h . t] then if h = selected.value
- then ["\n" . format_choices(t)]
+ else ["\n" . format_choices(t,selected)]
}.
@@ -2685,7 +2686,7 @@ public define Printable_tree
[ ] then [ ],
[h . t] then
if h is (val,item)
- then ["\n" . format_choices(t)]
}.
public define Printable_tree
@@ -2700,8 +2701,8 @@ public define Printable_tree
[h . t] then
if h is (val,item) then
if val.value = selected.value
- then ["\n" . format_choices(t)]
+ else ["\n" . format_choices(t,selected)]
}.
@@ -3755,7 +3756,7 @@ define Printable_tree
""],
selector(opts, label, id, n,s,cs) then
["",
- ""],
+ ""],
selector(opts, label, id, n,s,cs,sd) then
["",
""],
--
libgit2 0.21.4