]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
rework feed-prefs ops toolbar
[tt-rss.git] / tt-rss.js
index e918af0f8e7deabc2befcf948b25b77be67df4fb..a18f95cd1cbb42f8230cfb0bad6038cc82104e99 100644 (file)
--- 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;
+}
+
+