From: Andrew Dolgov Date: Mon, 28 Dec 2009 21:09:04 +0000 (+0300) Subject: archiveSelection: invalidate article cache X-Git-Tag: 1.4.0~122 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a12eb9c3274d0c35b6c951bf992e8b992420fd92;p=tt-rss.git archiveSelection: invalidate article cache --- diff --git a/viewfeed.js b/viewfeed.js index ef3ab2c6..22371cf9 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1366,7 +1366,7 @@ function deleteSelection() { } }); } catch (e) { - exception_error("archiveSelection", e); + exception_error("deleteSelection", e); } } @@ -1411,6 +1411,10 @@ function archiveSelection() { debug(query); + for (var i = 0; i < rows.length; i++) { + cache_invalidate(rows[i]); + } + new Ajax.Request(query, { onComplete: function(transport) { viewCurrentFeed();