From: Andrew Dolgov Date: Fri, 6 Aug 2010 12:34:18 +0000 (+0400) Subject: quick menu: add entry to reorder categories; tweak menu layout X-Git-Tag: 1.4.3-proper~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=791c839642f56db16fa11672739bad2515fabdaf;p=tt-rss.git quick menu: add entry to reorder categories; tweak menu layout --- 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 @@ + + + + + + - - +