allow users to edit groups but only show there groups, disable other groups to not allow removing them
This commit is contained in:
parent
4dc89c9456
commit
ef0aca6acb
3 changed files with 16 additions and 5 deletions
|
|
@ -430,7 +430,7 @@ pandora.ui.infoView = function(data) {
|
|||
editMetadata(key, event.value);
|
||||
}
|
||||
}, key == 'groups' ? {
|
||||
doubleclick: function() {
|
||||
doubleclick: canEdit ? function() {
|
||||
setTimeout(function() {
|
||||
if (window.getSelection) {
|
||||
window.getSelection().removeAllRanges();
|
||||
|
|
@ -451,7 +451,7 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
})
|
||||
.open();
|
||||
}
|
||||
} : function() {}
|
||||
} : {}))
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue