From 51231907579c59f75108a23e35c8889051f7832e Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Dec 2014 13:55:43 +0000 Subject: [PATCH] debug menu, minor update --- static/js/mainMenu.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index fb219049..4139a0d5 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -224,8 +224,8 @@ pandora.ui.mainMenu = function() { { id: 'debugmode', title: Ox._((pandora.localStorage('enableDebugMode') ? 'Disable' : 'Enable') + ' Debug Mode') }, { id: 'eventlogging', title: Ox._((pandora.localStorage('enableEventLogging') ? 'Disable' : 'Enable') + ' Event Logging')}, {}, - { id: 'errorlogs', title: Ox._('View Error Logs...')}, { id: 'tests', title: Ox._('Run Tests')} + { id: 'errorlogs', title: Ox._('Error Logs...')}, ] } ] : [] @@ -541,10 +541,10 @@ pandora.ui.mainMenu = function() { } Ox.Event[pandora.localStorage('enableEventLogging') ? 'bind' : 'unbind'](pandora.logEvent); that.setItemTitle('eventlogging', Ox._((pandora.localStorage('enableEventLogging') ? 'Disable' : 'Enable') + ' Event Logging')); - } else if (data.id == 'errorlogs') { - pandora.$ui.errorlogsDialog = pandora.ui.errorlogsDialog().open(); } else if (data.id == 'tests') { pandora.tests(); + } else if (data.id == 'errorlogs') { + pandora.$ui.errorlogsDialog = pandora.ui.errorlogsDialog().open(); } }, pandora_edit: function() {