allow some caching
This commit is contained in:
parent
a0cf082dcf
commit
5b22b768a9
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
}
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue