From: Andrew Dolgov Date: Tue, 19 Jan 2010 15:22:35 +0000 (+0300) Subject: flush cache on feedEditSave X-Git-Tag: 1.4.0~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=641444d3d742c1cf31f76b746eb6be35746ea4c9;p=tt-rss.git flush cache on feedEditSave --- 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(); }