diff --git a/static/js/entityDialog.js b/static/js/entityDialog.js index 3c17043a3..b4863b45a 100644 --- a/static/js/entityDialog.js +++ b/static/js/entityDialog.js @@ -10,7 +10,7 @@ pandora.ui.entityDialog = function() { .css({overflowY: 'auto'}), that = Ox.Dialog({ - buttons: (ui.canManageEntities ? [ + buttons: (ui.capabilities.canManageEntities ? [ Ox.Button({ id: 'edit', title: Ox._('Edit Entity...')