handle entities

This commit is contained in:
rolux 2014-11-20 13:38:13 +00:00
parent 08f7b1856c
commit 48f0f002e0

View file

@ -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) {