mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:26:00 +00:00
rework feed-prefs ops toolbar
This commit is contained in:
29
tt-rss.js
29
tt-rss.js
@@ -525,20 +525,6 @@ function unsubscribeFeed(feed_id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function clearFeedArticles(feed_id) {
|
||||
|
||||
notify_progress("Clearing feed...");
|
||||
|
||||
var query = "backend.php?op=pref-feeds&quiet=1&subop=clear&id=" + feed_id;
|
||||
|
||||
new Ajax.Request(query, {
|
||||
onComplete: function(transport) {
|
||||
dlg_frefresh_callback(transport, feed_id);
|
||||
} });
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function updateFeedTitle(t) {
|
||||
active_title_text = t;
|
||||
@@ -729,3 +715,18 @@ function labelEditSave() {
|
||||
|
||||
}
|
||||
|
||||
function clearFeedArticles(feed_id) {
|
||||
|
||||
notify_progress("Clearing feed...");
|
||||
|
||||
var query = "backend.php?op=pref-feeds&quiet=1&subop=clear&id=" + feed_id;
|
||||
|
||||
new Ajax.Request(query, {
|
||||
onComplete: function(transport) {
|
||||
dlg_frefresh_callback(transport, feed_id);
|
||||
} });
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user