From 867413478a0f18754c87a9998277e6d6d58abe08 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Sep 2005 06:29:45 +0100 Subject: remove ACTFEEDID container, keep information in a cookie instead (getActiveFeedId/setActiveFeedId API) --- functions.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions.js') diff --git a/functions.js b/functions.js index 5f8b2425f..4e758a7d0 100644 --- a/functions.js +++ b/functions.js @@ -270,3 +270,11 @@ function gotoMain() { function gotoExportOpml() { document.location.href = "opml.php?op=Export"; } + +function getActiveFeedId() { + return getCookie("ttrss_vf_actfeed"); +} + +function setActiveFeedId(id) { + return setCookie("ttrss_vf_actfeed", id); +} -- cgit v1.2.3-54-g00ecf