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:
14
js/prefs.js
14
js/prefs.js
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user