reload logs opening dialog

This commit is contained in:
j 2012-03-18 18:52:59 +01:00
parent 364c9b004a
commit b8daaeaaa3

View file

@ -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
}), }),