]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
init param API is context-free
[tt-rss.git] / tt-rss.js
index ed6cae91e5f274ae3452aa59d43916081ea53b4a..eefcd95faae6190c1d56fae6faccb36455a2911f 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -10,6 +10,7 @@ var _qfd_deleted_feed = 0;
 var firsttime_update = true;
 var last_refetch = 0;
 var cookie_lifetime = 0;
+var active_feed_id = 0;
 
 var xmlhttp = Ajax.getTransport();
 
@@ -430,8 +431,6 @@ function init_second_stage() {
                cookie_lifetime = getCookie("ttrss_cltime");
 
                delCookie("ttrss_vf_test");
-
-               setCookie("ttrss_vf_actfeed", "");
        
                updateFeedList(false, false);
                document.onkeydown = hotkey_handler;
@@ -594,16 +593,4 @@ function fatalError(code, message) {
        }
 }
 
-function getInitParam(key) {
-       return init_params[key];
-}
 
-function storeInitParam(key, value) {
-       try {
-               init_params[key] = value;
-               new Ajax.Request("backend.php?op=rpc&subop=storeParam&key=" + 
-                       param_escape(key) + "&value=" + param_escape(value));           
-       } catch (e) {
-               exception_error("storeInitParam", e);
-       }
-}