summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-19 18:22:35 +0300
committerAndrew Dolgov <[email protected]>2010-01-19 18:22:35 +0300
commit641444d3d742c1cf31f76b746eb6be35746ea4c9 (patch)
tree333056e2f1550a5342aeebb0d9763a808a78a7a0
parent8ab4da5f8b64d1e748b431c6dd9f1979bf4af698 (diff)
flush cache on feedEditSave
-rw-r--r--tt-rss.js6
-rw-r--r--viewfeed.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/tt-rss.js b/tt-rss.js
index b2de0bcdb..911e3b1e5 100644
--- 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, '')
}
diff --git a/viewfeed.js b/viewfeed.js
index 0ec443c6f..4b8edfb4d 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -1863,7 +1863,7 @@ function cache_expire() {
}
}
-function cache_empty() {
+function cache_flush() {
article_cache = new Array();
}