make per item document info editable if user can edit item
This commit is contained in:
parent
c19f80f2e5
commit
df44b0daf4
4 changed files with 11 additions and 6 deletions
|
|
@ -68,7 +68,10 @@ pandora.ui.item = function() {
|
|||
} else if (pandora.user.ui.itemView == 'documents') {
|
||||
|
||||
pandora.$ui.contentPanel.replaceElement(1,
|
||||
pandora.$ui.documents = pandora.ui.documentsPanel({isItemView: true})
|
||||
pandora.$ui.documents = pandora.ui.documentsPanel({
|
||||
editable: result.data.editable,
|
||||
isItemView: true
|
||||
})
|
||||
);
|
||||
|
||||
} else if (pandora.user.ui.itemView == 'player') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue