From 791c839642f56db16fa11672739bad2515fabdaf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 6 Aug 2010 16:34:18 +0400 Subject: [PATCH] quick menu: add entry to reorder categories; tweak menu layout --- tt-rss.js | 12 ++++++++++++ tt-rss.php | 9 +++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/tt-rss.js b/tt-rss.js index 4b463cf3..36aec2f8 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -613,6 +613,18 @@ function quickMenuGo(opid) { resize_headlines(); } + if (opid == "qmcToggleReorder") { + feedlist_sortable_enabled = !feedlist_sortable_enabled; + + if (feedlist_sortable_enabled) { + notify_info("Category reordering enabled"); + toggle_sortable_feedlist(true); + } else { + notify_info("Category reordering disabled"); + toggle_sortable_feedlist(false); + } + } + if (opid == "qmcResetCats") { if (confirm(__("Reset category order?"))) { diff --git a/tt-rss.php b/tt-rss.php index 5f63b2e8..5e8bc131 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -187,13 +187,18 @@ + + + + + + - - + -- 2.39.5