summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-23 06:44:13 +0100
committerAndrew Dolgov <[email protected]>2008-02-23 06:44:13 +0100
commit3c2d7945ae04e219eaa6206c745e314b1492e574 (patch)
tree727ce0cf882f081a8488c0f377e5e2ea8a58e27b /viewfeed.js
parent93c841c4e52b938d97aff9f08956156c765b725c (diff)
invalidate local cache when view mode/limit is changed
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 2eef820e8..79dbe0037 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -1508,6 +1508,10 @@ function cache_expire() {
}
}
+function cache_empty() {
+ article_cache = new Array();
+}
+
function cache_invalidate(id) {
var i = 0