fix capability check
This commit is contained in:
parent
7ce9337001
commit
9d5aae4197
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ pandora.ui.entityDialog = function() {
|
||||||
.css({overflowY: 'auto'}),
|
.css({overflowY: 'auto'}),
|
||||||
|
|
||||||
that = Ox.Dialog({
|
that = Ox.Dialog({
|
||||||
buttons: (ui.capabilities.canManageEntities ? [
|
buttons: (pandora.site.capabilities.canManageEntities[pandora.user.level] ? [
|
||||||
Ox.Button({
|
Ox.Button({
|
||||||
id: 'edit',
|
id: 'edit',
|
||||||
title: Ox._('Edit Entity...')
|
title: Ox._('Edit Entity...')
|
||||||
|
|
Loading…
Reference in a new issue