summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-07-25 09:35:22 +0100
committerAndrew Dolgov <[email protected]>2006-07-25 09:35:22 +0100
commit0b7cb301f24be1148949fdbb81dd7518e7bd705e (patch)
tree9969e15e95f4868980b7a84e574ed6c5ab7f5f69 /functions.js
parent5f57b06d27f62f5d7335a7073a564eacf557a05d (diff)
move initParams to invisible iframe
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;