]> git.wh0rd.org Git - tt-rss.git/commitdiff
flush cache on feedEditSave
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 19 Jan 2010 15:22:35 +0000 (18:22 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 19 Jan 2010 15:22:35 +0000 (18:22 +0300)
tt-rss.js
viewfeed.js

index b2de0bcdba1d3a35f19f66d5db0ab177adb74b46..911e3b1e5d393a08c934df8adde40247a981c323 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -858,7 +858,7 @@ function feedEditSave() {
                                dlg_frefresh_callback(transport); 
                        } });
 
-
+               cache_flush();
                closeInfoBox();
 
                return false;
@@ -952,12 +952,12 @@ function collapse_feedlist() {
 }
 
 function viewModeChanged() {
-       cache_empty();
+       cache_flush();
        return viewCurrentFeed(0, '')
 }
 
 function viewLimitChanged() {
-       cache_empty();
+       cache_flush();
        return viewCurrentFeed(0, '')
 }
 
index 0ec443c6f678e09556735ca230738866bd8a11b0..4b8edfb4d37446f983e163711558ef9e68cb1c6d 100644 (file)
@@ -1863,7 +1863,7 @@ function cache_expire() {
        }
 }
 
-function cache_empty() {
+function cache_flush() {
        article_cache = new Array();
 }