diff --git a/static/js/pandora/infoView.js b/static/js/pandora/infoView.js index 257d0def..f72a4824 100644 --- a/static/js/pandora/infoView.js +++ b/static/js/pandora/infoView.js @@ -626,10 +626,7 @@ pandora.ui.infoView = function(data) { type: 'image' }) .addClass('OxColor OxColorGradient') - .css({ - background: $element.css('background'), - color: $element.css('color') - }) + .css({background: $element.css('background')}) .css('margin' + (canEdit ? 'Left' : 'Right'), '4px') .data({OxColor: $element.data('OxColor')}) .appendTo($line); diff --git a/static/js/pandora/menu.js b/static/js/pandora/menu.js index 9306a0c2..9f684d86 100644 --- a/static/js/pandora/menu.js +++ b/static/js/pandora/menu.js @@ -141,7 +141,8 @@ pandora.ui.mainMenu = function() { pandora.site.capabilities.canSeeDebugMenu[pandora.user.level] ? [ { id: 'debugMenu', title: 'Debug', items: [ - { id: 'clearcache', title: 'Clear cache'}, + { id: 'clearcache', title: 'Clear Cache'}, + { id: 'reloadapplication', title: 'Reload Application'}, { id: 'resetui', title: 'Reset UI Settings'} ] } ] @@ -248,12 +249,14 @@ pandora.ui.mainMenu = function() { groups: pandora.site.user.ui.groups }); pandora.$ui.contentPanel.replaceElement(0, pandora.$ui.browser = pandora.ui.browser()); + } else if (data.id == 'clearcache') { + Ox.Request.clearCache(); + } else if (data.id == 'reloadapplication') { + pandora.$ui.appPanel.reload(); } else if (data.id == 'resetui') { pandora.api.resetUI({}, function() { pandora.$ui.appPanel.reload(); }); - } else if (data.id == 'clearcache') { - Ox.Request.clearCache(); } }, pandora_find: function() {