cleanup
This commit is contained in:
parent
02552f3f83
commit
c6c2a425cc
16 changed files with 224 additions and 73 deletions
|
|
@ -9,7 +9,8 @@ pandora.ui.documentsDialog = function() {
|
|||
|
||||
// FIXME: user may not have the manage entites capability
|
||||
$switchButton = Ox.Button({
|
||||
disabled: !pandora.site.entities.length || !pandora.site.capabilities.canManageEntities[pandora.user.level],
|
||||
disabled: !pandora.site.entities.length
|
||||
|| !pandora.site.capabilities.canManageEntities[pandora.user.level],
|
||||
title: Ox._('Manage Entities...')
|
||||
})
|
||||
.bindEvent({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue