From 1c980681442731d713fc01aad7e7ec56997ac797 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 6 Feb 2009 09:36:46 +0300 Subject: [PATCH] offline: disable categories in feedlist when not enabled in tt-rss main --- functions.php | 3 +++ offline.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index ec814a35..7d3bae49 100644 --- a/functions.php +++ b/functions.php @@ -2958,6 +2958,9 @@ print ""; + print ""; + print ""; diff --git a/offline.js b/offline.js index 3bcf695d..5d92e08d 100644 --- a/offline.js +++ b/offline.js @@ -412,7 +412,7 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off function render_offline_feedlist() { try { - var cats_enabled = 1; + var cats_enabled = getInitParam("enable_feed_cats") == "1"; var tmp = "