diff options
author | Andrew Dolgov <[email protected]> | 2010-01-19 18:22:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-19 18:22:35 +0300 |
commit | 641444d3d742c1cf31f76b746eb6be35746ea4c9 (patch) | |
tree | 333056e2f1550a5342aeebb0d9763a808a78a7a0 | |
parent | 8ab4da5f8b64d1e748b431c6dd9f1979bf4af698 (diff) |
flush cache on feedEditSave
-rw-r--r-- | tt-rss.js | 6 | ||||
-rw-r--r-- | viewfeed.js | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -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(); } |