diff --git a/static/js/pandora/logsDialog.js b/static/js/pandora/logsDialog.js index b1675ef5..2ba7b5ad 100644 --- a/static/js/pandora/logsDialog.js +++ b/static/js/pandora/logsDialog.js @@ -167,7 +167,6 @@ pandora.ui.logsDialog = function() { width: 48 }).bindEvent({ click: function() { - Ox.Request.clearCache('findLogs'); that.close(); } }) @@ -212,6 +211,12 @@ pandora.ui.logsDialog = function() { }) .appendTo(that.$element.find('.OxButtonsbar')); + that.superClose = that.close; + that.close = function() { + Ox.Request.clearCache('findLogs'); + that.superClose(); + }; + function formatURL(url, line) { return Ox.encodeHTMLEntities(url.split('?')[0]) + ':' + line; } diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index 6d08fc6e..84a92202 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -406,7 +406,6 @@ pandora.ui.usersDialog = function() { width: 48 }).bindEvent({ click: function() { - Ox.Request.clearCache('findUsers'); that.close(); } }) @@ -439,6 +438,12 @@ pandora.ui.usersDialog = function() { }) .appendTo(that.$element.find('.OxButtonsbar')); + that.superClose = that.close; + that.close = function() { + Ox.Request.clearCache('findUsers'); + that.superClose(); + }; + function getFormItemById(id) { var ret; Ox.forEach((