]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
allow connections to pgsql without password
[tt-rss.git] / tt-rss.js
index 4b463cf3b213b1ab35cca54814d0397b43e7b591..36aec2f8f407df7cce866d318c0a5c8d995ea536 100644 (file)
--- 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?"))) {