debug menu, minor update
This commit is contained in:
parent
3e4236c83c
commit
5123190757
1 changed files with 3 additions and 3 deletions
|
@ -224,8 +224,8 @@ pandora.ui.mainMenu = function() {
|
||||||
{ id: 'debugmode', title: Ox._((pandora.localStorage('enableDebugMode') ? 'Disable' : 'Enable') + ' Debug Mode') },
|
{ id: 'debugmode', title: Ox._((pandora.localStorage('enableDebugMode') ? 'Disable' : 'Enable') + ' Debug Mode') },
|
||||||
{ id: 'eventlogging', title: Ox._((pandora.localStorage('enableEventLogging') ? 'Disable' : 'Enable') + ' Event Logging')},
|
{ 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: '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);
|
Ox.Event[pandora.localStorage('enableEventLogging') ? 'bind' : 'unbind'](pandora.logEvent);
|
||||||
that.setItemTitle('eventlogging', Ox._((pandora.localStorage('enableEventLogging') ? 'Disable' : 'Enable') + ' Event Logging'));
|
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') {
|
} else if (data.id == 'tests') {
|
||||||
pandora.tests();
|
pandora.tests();
|
||||||
|
} else if (data.id == 'errorlogs') {
|
||||||
|
pandora.$ui.errorlogsDialog = pandora.ui.errorlogsDialog().open();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pandora_edit: function() {
|
pandora_edit: function() {
|
||||||
|
|
Loading…
Reference in a new issue