summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index c6f1e0d03..6473e8698 100644
--- a/functions.js
+++ b/functions.js
@@ -1308,8 +1308,11 @@ function storeInitParam(key, value, is_client) {
if (!is_client) {
if (getMainContext().init_params[key] != value) {
debug("storeInitParam: " + key + " => " + value);
- new Ajax.Request("backend.php?op=rpc&subop=storeParam&key=" +
- param_escape(key) + "&value=" + param_escape(value));
+ //new Ajax.Request("backend.php?op=rpc&subop=storeParam&key=" +
+ // param_escape(key) + "&value=" + param_escape(value));
+ var f = getMainContext().document.getElementById("backReqBox");
+ f.src = "backend.php?op=rpc&subop=storeParam&key=" +
+ param_escape(key) + "&value=" + param_escape(value);
}
}
getMainContext().init_params[key] = value;