forked from 0x2620/pandora
handle entities
This commit is contained in:
parent
08f7b1856c
commit
48f0f002e0
1 changed files with 8 additions and 0 deletions
|
@ -79,6 +79,14 @@ pandora.ui.appPanel = function() {
|
||||||
} else {
|
} else {
|
||||||
pandora.UI.set({page: ''});
|
pandora.UI.set({page: ''});
|
||||||
}
|
}
|
||||||
|
} else if (page == 'entities') {
|
||||||
|
if (pandora.user.ui.part.entities) {
|
||||||
|
pandora.openEntitiesDialog({
|
||||||
|
ids: [pandora.user.ui.part.entities.split('/')[0]]
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
pandora.UI.set({page: ''});
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// open dialog
|
// open dialog
|
||||||
Ox.forEach(dialogPages, function(pages, dialog) {
|
Ox.forEach(dialogPages, function(pages, dialog) {
|
||||||
|
|
Loading…
Reference in a new issue