1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 22:26:00 +00:00

get rid of vf_hreadf cookie, move data to init-param

This commit is contained in:
Andrew Dolgov
2006-05-23 07:32:22 +01:00
parent 33d13e72e2
commit e8bd0da952
5 changed files with 22 additions and 45 deletions

View File

@@ -189,10 +189,8 @@ function toggleCollapseCat(cat) {
}
}
xmlhttp_rpc.open("GET", "backend.php?op=feeds&subop=collapse&cid=" +
param_escape(cat), true);
xmlhttp_rpc.onreadystatechange=rpc_pnotify_callback;
xmlhttp_rpc.send(null);
new Ajax.Request("backend.php?op=feeds&subop=collapse&cid=" +
param_escape(cat));
} catch (e) {
exception_error("toggleCollapseCat", e);
@@ -206,7 +204,7 @@ function init() {
parent.debug("in feedlist init");
hideOrShowFeeds(document, getCookie("ttrss_vf_hreadf") == 1);
hideOrShowFeeds(document, getInitParam("hide_read_feeds") == 1);
document.onkeydown = hotkey_handler;
parent.setTimeout("timeout()", 0);