rename error log api, fixes #2591

This commit is contained in:
j 2014-12-16 13:44:42 +00:00
commit 44ae4db25a
5 changed files with 18 additions and 18 deletions

View file

@ -117,7 +117,7 @@ pandora.ui.changelogDialog = function() {
columnsMovable: true,
columnsResizable: true,
columnsVisible: true,
items: pandora.api.findLogs,
items: pandora.api.findErrorLogs,
keys: ['line'],
scrollbarVisible: true,
sort: [{key: 'created', operator: '-'}],
@ -130,8 +130,8 @@ pandora.ui.changelogDialog = function() {
));
},
'delete': function(data) {
pandora.api.removeLogs({ids: data.ids}, function(result) {
Ox.Request.clearCache('findLogs');
pandora.api.removeErrorLogs({ids: data.ids}, function(result) {
Ox.Request.clearCache('findErrorLogs');
$list.reloadList();
});
},