hideOrShowFeedList: fix
This commit is contained in:
parent
3bd9a780d6
commit
5158ced917
|
@ -1525,6 +1525,7 @@ function getInitParam(key) {
|
||||||
|
|
||||||
function storeInitParam(key, value) {
|
function storeInitParam(key, value) {
|
||||||
debug("<b>storeInitParam is OBSOLETE: " + key + " => " + value + "</b>");
|
debug("<b>storeInitParam is OBSOLETE: " + key + " => " + value + "</b>");
|
||||||
|
init_params[key] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
function fatalError(code, message) {
|
function fatalError(code, message) {
|
||||||
|
|
|
@ -554,12 +554,12 @@ function toggleDispRead() {
|
||||||
|
|
||||||
hideOrShowFeeds(getFeedsContext().document, hide_read_feeds);
|
hideOrShowFeeds(getFeedsContext().document, hide_read_feeds);
|
||||||
|
|
||||||
var query = "backend.php?op=rpc&subop=setpref" +
|
|
||||||
"&key=HIDE_READ_FEEDS&value=" + param_escape(hide_read_feeds);
|
|
||||||
|
|
||||||
storeInitParam("hide_read_feeds", hide_read_feeds, true);
|
storeInitParam("hide_read_feeds", hide_read_feeds, true);
|
||||||
|
|
||||||
new Ajax.Request(query);
|
/* var query = "backend.php?op=rpc&subop=setpref" +
|
||||||
|
"&key=HIDE_READ_FEEDS&value=" + param_escape(hide_read_feeds);
|
||||||
|
|
||||||
|
new Ajax.Request(query); */
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("toggleDispRead", e);
|
exception_error("toggleDispRead", e);
|
||||||
|
|
Loading…
Reference in New Issue