summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js29
1 files changed, 15 insertions, 14 deletions
diff --git a/tt-rss.js b/tt-rss.js
index e918af0f8..a18f95cd1 100644
--- a/tt-rss.js
+++ b/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;
+}
+
+