diff --git a/htroot/ConfigProperties_p.html b/htroot/ConfigProperties_p.html
index 98f7a682c..23b177950 100644
--- a/htroot/ConfigProperties_p.html
+++ b/htroot/ConfigProperties_p.html
@@ -27,10 +27,15 @@
node=node.nextSibling;
}
}
+ function clear_form() {
+ document.getElementById("key").value="";
+ document.getElementById("value").value="";
+ filterList();
+ }
//-->
-
+
#%env/templates/header.template%#
#%env/templates/submenuConfig.template%#
@@ -51,8 +56,9 @@
diff --git a/htroot/ConfigProperties_p.java b/htroot/ConfigProperties_p.java
index 3b60a51b2..5893ca064 100644
--- a/htroot/ConfigProperties_p.java
+++ b/htroot/ConfigProperties_p.java
@@ -44,15 +44,19 @@ public class ConfigProperties_p {
// return variable that accumulates replacements
final serverObjects prop = new serverObjects();
- String key;
+ String key = "";
+ String value = "";
//change a key
if (post != null && post.containsKey("key") && post.containsKey("value")) {
key = post.get("key").trim();
+ value = post.get("value").trim();
if (key != null && !key.isEmpty()) {
- env.setConfig(key, post.get("value").trim());
+ env.setConfig(key, value);
}
}
+ prop.putHTML("keyPosted", key);
+ prop.putHTML("valuePosted", value);
Iterator keys = env.configKeys();