Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) re-enable popup configuration on status-page

(no author)44fe8361ae8f
diff --git a/htroot/Status.java b/htroot/Status.java
index 515473eec..b67807fb1 100644
--- a/htroot/Status.java
+++ b/htroot/Status.java
@@ -103,7 +103,15 @@ public class Status {
httpdByteCountInputStream.resetCount();
httpdByteCountOutputStream.resetCount();
redirect = true;
- }
+ } else if (post.containsKey("popup")) {
+ String trigger_enabled = (String) post.get("popup");
+ if (trigger_enabled.equals("false")) {
+ env.setConfig("browserPopUpTrigger", "false");
+ } else if (trigger_enabled.equals("true")){
+ env.setConfig("browserPopUpTrigger", "true");
+ }
+ redirect = true;
+ }
if (redirect) {
prop.put("LOCATION","");