From 6a93f23fd0193bda5156ef1996558e69bce964df Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 19 Sep 2011 13:33:46 +0000 Subject: [PATCH] when changing smart list query, clear cache selectively --- static/js/pandora/ui/filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/ui/filter.js b/static/js/pandora/ui/filter.js index 6bfb802a..ed59b5ff 100644 --- a/static/js/pandora/ui/filter.js +++ b/static/js/pandora/ui/filter.js @@ -29,7 +29,7 @@ pandora.ui.filter = function(list) { id: list.id, query: data.query }, function(result) { - Ox.Request.clearCache(); // fixme: remove later + Ox.Request.clearCache('"' + list.id + '"'); pandora.$ui.list .bindEventOnce({ init: function(data) {