fix capability check

This commit is contained in:
rolux 2014-12-17 15:33:58 +00:00
parent 7ce9337001
commit 9d5aae4197

View file

@ -10,7 +10,7 @@ pandora.ui.entityDialog = function() {
.css({overflowY: 'auto'}),
that = Ox.Dialog({
buttons: (ui.capabilities.canManageEntities ? [
buttons: (pandora.site.capabilities.canManageEntities[pandora.user.level] ? [
Ox.Button({
id: 'edit',
title: Ox._('Edit Entity...')