From 1c980681442731d713fc01aad7e7ec56997ac797 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 6 Feb 2009 09:36:46 +0300 Subject: 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 ec814a355..7d3bae49c 100644 --- a/functions.php +++ b/functions.php @@ -2958,6 +2958,9 @@ print ""; + print ""; + print ""; diff --git a/offline.js b/offline.js index 3bcf695db..5d92e08d4 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 = "