hide unused dialogs from menu
This commit is contained in:
parent
faeb2ddd2d
commit
aaf444ae96
2 changed files with 7 additions and 2 deletions
|
|
@ -2489,6 +2489,9 @@ pandora.hasPlacesLayer = function() {
|
|||
});
|
||||
};
|
||||
|
||||
pandora.hasView = function(id) {
|
||||
return !!(Ox.getObjectById(pandora.site.itemViews, id) || Ox.getObjectById(pandora.site.listViews, id))
|
||||
};
|
||||
|
||||
pandora.isClipView = function(view, item) {
|
||||
if (pandora.user.ui.section == 'items') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue