diff --git a/pandora/log/views.py b/pandora/log/views.py index 89825a84..6e529ec9 100644 --- a/pandora/log/views.py +++ b/pandora/log/views.py @@ -135,4 +135,4 @@ def findLogs(request): else: response['data']['items'] = qs.count() return render_to_json_response(response) -actions.register(findLogs, cache=False) +actions.register(findLogs) diff --git a/static/js/pandora/logsDialog.js b/static/js/pandora/logsDialog.js index 41be3a8b..8aa7194b 100644 --- a/static/js/pandora/logsDialog.js +++ b/static/js/pandora/logsDialog.js @@ -1,7 +1,7 @@ // vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.logsDialog = function() { - + Ox.Request.clearCache('findLogs'); var height = Math.round((window.innerHeight - 48) * 0.9), width = Math.round(window.innerWidth * 0.9), numberOfLogs = 0, @@ -127,6 +127,7 @@ pandora.ui.logsDialog = function() { 'delete': function(data) { pandora.api.removeLogs({ids: data.ids}, function(result) { $list.reloadList(); + Ox.Request.clearCache('findLogs'); }); } }),