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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user