rename error log api, fixes #2591
This commit is contained in:
parent
2f154aa610
commit
44ae4db25a
5 changed files with 18 additions and 18 deletions
|
|
@ -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();
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue