archiveSelection: invalidate article cache

This commit is contained in:
Andrew Dolgov 2009-12-29 00:09:04 +03:00
parent e1050aec22
commit a12eb9c327
1 changed files with 5 additions and 1 deletions

View File

@ -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();