1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 03:25:56 +00:00

move initParams to invisible iframe

This commit is contained in:
Andrew Dolgov
2006-07-25 09:35:22 +01:00
parent 5f57b06d27
commit 0b7cb301f2
4 changed files with 14 additions and 2 deletions

View File

@@ -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;