forked from 0x2620/pandora
move onload menu entry
This commit is contained in:
parent
6946ce333d
commit
fc713cabb6
1 changed files with 1 additions and 1 deletions
|
@ -149,13 +149,13 @@ pandora.ui.mainMenu = function() {
|
||||||
pandora.site.capabilities.canSeeDebugMenu[pandora.user.level]
|
pandora.site.capabilities.canSeeDebugMenu[pandora.user.level]
|
||||||
? [
|
? [
|
||||||
{ id: 'debugMenu', title: 'Debug', items: [
|
{ id: 'debugMenu', title: 'Debug', items: [
|
||||||
{ id: 'onload', title: 'Run on load...'},
|
|
||||||
{ id: 'logs', title: 'View Logs...'},
|
{ id: 'logs', title: 'View Logs...'},
|
||||||
{ id: 'clearcache', title: 'Clear Cache'},
|
{ id: 'clearcache', title: 'Clear Cache'},
|
||||||
{ id: 'reloadapplication', title: 'Reload Application'},
|
{ id: 'reloadapplication', title: 'Reload Application'},
|
||||||
{ id: 'resetui', title: 'Reset UI Settings'},
|
{ id: 'resetui', title: 'Reset UI Settings'},
|
||||||
{ id: 'debug', title: (pandora.localStorage('debug')?'Disable':'Enable')+' Debug Mode'},
|
{ id: 'debug', title: (pandora.localStorage('debug')?'Disable':'Enable')+' Debug Mode'},
|
||||||
{ id: 'triggererror', title: 'Trigger JavaScript Error'},
|
{ id: 'triggererror', title: 'Trigger JavaScript Error'},
|
||||||
|
{ id: 'onload', title: 'Edit onload script...'}
|
||||||
] }
|
] }
|
||||||
]
|
]
|
||||||
: []
|
: []
|
||||||
|
|
Loading…
Reference in a new issue