1
0
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:
Andrew Dolgov
2007-10-18 05:51:29 +01:00
parent ebb87f43d5
commit c4a36709cd
5 changed files with 127 additions and 21 deletions

View File

@@ -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;
}