From 641444d3d742c1cf31f76b746eb6be35746ea4c9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Jan 2010 18:22:35 +0300 Subject: [PATCH] flush cache on feedEditSave --- tt-rss.js | 6 +++--- viewfeed.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tt-rss.js b/tt-rss.js index b2de0bcd..911e3b1e 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 0ec443c6..4b8edfb4 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1863,7 +1863,7 @@ function cache_expire() { } } -function cache_empty() { +function cache_flush() { article_cache = new Array(); } -- 2.39.5