add (not yet functional) 'Disable Cache' menu entry (see ticket 1420)

This commit is contained in:
rolux 2013-08-02 10:26:09 +00:00
parent 7284b36eb0
commit 551e43ad47

View file

@ -209,6 +209,7 @@ pandora.ui.mainMenu = function() {
pandora.site.capabilities.canSeeDebugMenu[pandora.user.level] pandora.site.capabilities.canSeeDebugMenu[pandora.user.level]
? [ ? [
{ id: 'debugMenu', title: Ox._('Debug'), items: [ { id: 'debugMenu', title: Ox._('Debug'), items: [
{ id: 'cache', title: Ox._('Disable Cache'), disabled: true},
{ id: 'clearcache', title: Ox._('Clear Cache')}, { id: 'clearcache', title: Ox._('Clear Cache')},
{}, {},
{ id: 'debugmode', title: Ox._((pandora.localStorage('enableDebugMode') ? 'Disable' : 'Enable') + ' Debug Mode') }, { id: 'debugmode', title: Ox._((pandora.localStorage('enableDebugMode') ? 'Disable' : 'Enable') + ' Debug Mode') },