forked from 0x2620/pandora
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'}),
|
||||
|
||||
that = Ox.Dialog({
|
||||
buttons: (ui.capabilities.canManageEntities ? [
|
||||
buttons: (pandora.site.capabilities.canManageEntities[pandora.user.level] ? [
|
||||
Ox.Button({
|
||||
id: 'edit',
|
||||
title: Ox._('Edit Entity...')
|
||||
|
|
Loading…
Reference in a new issue