From b8daaeaaa38ed2c6d035310b6d6eaab90a6590d7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 18 Mar 2012 18:52:59 +0100 Subject: [PATCH] reload logs opening dialog --- static/js/pandora/logsDialog.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/logsDialog.js b/static/js/pandora/logsDialog.js index dffa93c46..b1675ef52 100644 --- a/static/js/pandora/logsDialog.js +++ b/static/js/pandora/logsDialog.js @@ -121,8 +121,8 @@ pandora.ui.logsDialog = function() { }, 'delete': function(data) { pandora.api.removeLogs({ids: data.ids}, function(result) { - $list.reloadList(); Ox.Request.clearCache('findLogs'); + $list.reloadList(); }); }, open: function(data) { @@ -150,6 +150,7 @@ pandora.ui.logsDialog = function() { height: height - 48, keys: {enter: 'close', escape: 'close'}, maximizeButton: true, + removeOnClose: true, title: formatURL(value.url, value.line), width: width - 48 }) @@ -193,6 +194,7 @@ pandora.ui.logsDialog = function() { minHeight: 256, minWidth: 512, padding: 0, + removeOnClose: true, title: 'Manage Logs', width: width }),