diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2005-09-08 06:29:45 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2005-09-08 06:29:45 +0100 |
| commit | 867413478a0f18754c87a9998277e6d6d58abe08 (patch) | |
| tree | bbc06c2c93d83e02210b504f9d8b05aab28287ac /functions.js | |
| parent | 25cb57366a45f8b41ac632553c462e2636a09ed6 (diff) | |
remove ACTFEEDID container, keep information in a cookie instead (getActiveFeedId/setActiveFeedId API)
Diffstat (limited to 'functions.js')
| -rw-r--r-- | functions.js | 8 |
1 files changed, 8 insertions, 0 deletions
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); +} |