reload logs opening dialog
This commit is contained in:
parent
364c9b004a
commit
b8daaeaaa3
1 changed files with 3 additions and 1 deletions
|
@ -121,8 +121,8 @@ pandora.ui.logsDialog = function() {
|
||||||
},
|
},
|
||||||
'delete': function(data) {
|
'delete': function(data) {
|
||||||
pandora.api.removeLogs({ids: data.ids}, function(result) {
|
pandora.api.removeLogs({ids: data.ids}, function(result) {
|
||||||
$list.reloadList();
|
|
||||||
Ox.Request.clearCache('findLogs');
|
Ox.Request.clearCache('findLogs');
|
||||||
|
$list.reloadList();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
open: function(data) {
|
open: function(data) {
|
||||||
|
@ -150,6 +150,7 @@ pandora.ui.logsDialog = function() {
|
||||||
height: height - 48,
|
height: height - 48,
|
||||||
keys: {enter: 'close', escape: 'close'},
|
keys: {enter: 'close', escape: 'close'},
|
||||||
maximizeButton: true,
|
maximizeButton: true,
|
||||||
|
removeOnClose: true,
|
||||||
title: formatURL(value.url, value.line),
|
title: formatURL(value.url, value.line),
|
||||||
width: width - 48
|
width: width - 48
|
||||||
})
|
})
|
||||||
|
@ -193,6 +194,7 @@ pandora.ui.logsDialog = function() {
|
||||||
minHeight: 256,
|
minHeight: 256,
|
||||||
minWidth: 512,
|
minWidth: 512,
|
||||||
padding: 0,
|
padding: 0,
|
||||||
|
removeOnClose: true,
|
||||||
title: 'Manage Logs',
|
title: 'Manage Logs',
|
||||||
width: width
|
width: width
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue