diff --git a/viewfeed.js b/viewfeed.js index ef3ab2c6c..22371cf9d 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();