add clear cache to debug menu
This commit is contained in:
parent
9c256cf320
commit
9c39769ee4
1 changed files with 4 additions and 1 deletions
|
@ -153,7 +153,8 @@ pandora.ui.mainMenu = function() {
|
||||||
] },
|
] },
|
||||||
{ id: 'debugMenu', title: 'Debug', items: [
|
{ id: 'debugMenu', title: 'Debug', items: [
|
||||||
{ id: 'query', title: 'Show pandora.Query' },
|
{ id: 'query', title: 'Show pandora.Query' },
|
||||||
{ id: 'resetui', title: 'Reset UI Settings'}
|
{ id: 'resetui', title: 'Reset UI Settings'},
|
||||||
|
{ id: 'clearcache', title: 'Clear cache'}
|
||||||
] },
|
] },
|
||||||
{ id: 'testMenu', title: 'Test', items: [
|
{ id: 'testMenu', title: 'Test', items: [
|
||||||
{ group: 'foogroup', items: [
|
{ group: 'foogroup', items: [
|
||||||
|
@ -722,6 +723,8 @@ pandora.ui.mainMenu = function() {
|
||||||
pandora.api.resetUI({}, function() {
|
pandora.api.resetUI({}, function() {
|
||||||
pandora.$ui.appPanel.reload();
|
pandora.$ui.appPanel.reload();
|
||||||
});
|
});
|
||||||
|
} else if (data.id == 'clearcache') {
|
||||||
|
Ox.Request.clearCache();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue