1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

pref-feeds: apply patch by gmargo@forum to show/hide empty categories

This commit is contained in:
Andrew Dolgov
2012-03-05 12:08:39 +04:00
parent d50edb08ba
commit 5b7bd238ee
7 changed files with 46 additions and 5 deletions

View File

@@ -1635,6 +1635,21 @@ function resetCatOrder() {
}
}
function toggleHiddenFeedCats() {
try {
notify_progress("Loading, please wait...");
new Ajax.Request("backend.php", {
parameters: "?op=pref-feeds&method=togglehiddenfeedcats",
onComplete: function(transport) {
updateFeedList();
} });
} catch (e) {
exception_error("toggleHiddenFeedCats");
}
}
function editCat(id, item, event) {
try {
var new_name = prompt(__('Rename category to:'), item.name);