1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 05:51:28 +00:00

some UI frontend cookies respect session cookie lifetime, misc cookie cleanups (closes #52)

This commit is contained in:
Andrew Dolgov
2006-03-20 17:53:11 +01:00
parent 2055d4a6dc
commit 76b4eae177
5 changed files with 42 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ function viewfeed(feed, skip, subop, doc, is_cat) {
view_mode = "All Posts";
}
setCookie("ttrss_vf_vmode", view_mode);
setCookie("ttrss_vf_vmode", view_mode, getCookie("ttrss_cltime"));
var limitbox = doc.getElementById("limitbox");
@@ -73,7 +73,7 @@ function viewfeed(feed, skip, subop, doc, is_cat) {
if (limitbox) {
limit = limitbox[limitbox.selectedIndex].text;
setCookie("ttrss_vf_limit", limit);
setCookie("ttrss_vf_limit", limit, getCookie("ttrss_cltime"));
} else {
limit = "All";
}