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

pref-feeds: check for inactive feeds asynchronously

This commit is contained in:
Andrew Dolgov
2015-08-12 16:19:42 +03:00
parent 1edff0d439
commit f9c1f8b0d4
2 changed files with 36 additions and 24 deletions

View File

@@ -24,6 +24,20 @@ function updateFeedList(sort_key) {
} });
}
function checkInactiveFeeds() {
try {
new Ajax.Request("backend.php", {
parameters: "?op=pref-feeds&method=getinactivefeeds",
onComplete: function(transport) {
if (parseInt(transport.responseText) > 0) {
Element.show(dijit.byId("pref_feeds_inactive_btn").domNode);
}
} });
} catch (e) {
exception_error("checkInactiveFeeds", e);
}
}
function updateUsersList(sort_key) {
try {