diff --git a/htroot/IndexControlRWIs_p.html b/htroot/IndexControlRWIs_p.html index b1ac84907..353b43166 100644 --- a/htroot/IndexControlRWIs_p.html +++ b/htroot/IndexControlRWIs_p.html @@ -34,6 +34,7 @@ + #(cleanup)#::
Cleanup @@ -44,6 +45,7 @@
+ #(/cleanup)# #(searchresult)#::

No entry for word '#[word]#'

:: diff --git a/htroot/IndexControlRWIs_p.java b/htroot/IndexControlRWIs_p.java index 36c31f1f9..90d454b1b 100644 --- a/htroot/IndexControlRWIs_p.java +++ b/htroot/IndexControlRWIs_p.java @@ -79,6 +79,8 @@ public class IndexControlRWIs_p { prop.putHTML("keystring", ""); prop.put("keyhash", ""); prop.put("result", ""); + prop.put("cleanup", post == null ? 1 : 0); + String segmentName = sb.getConfig(SwitchboardConstants.SEGMENT_PUBLIC, "default"); int i = 0; for (String s: sb.indexSegments.segmentNames()) {