From 62a952b8b0f25967650351374e1d47472222716f Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 19 Sep 2011 18:13:35 +0000 Subject: [PATCH] reload lists on smart list query change --- static/js/pandora/ui/filter.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/ui/filter.js b/static/js/pandora/ui/filter.js index ed59b5ff..85f6157f 100644 --- a/static/js/pandora/ui/filter.js +++ b/static/js/pandora/ui/filter.js @@ -29,7 +29,11 @@ pandora.ui.filter = function(list) { id: list.id, query: data.query }, function(result) { - Ox.Request.clearCache('"' + list.id + '"'); + Ox.Request.clearCache(list.id); + //Ox.Request.clearCache(); + pandora.$ui.groups.forEach(function($group) { + $group.reloadList(); + }); pandora.$ui.list .bindEventOnce({ init: function(data) {