allow users to edit groups but only show there groups, disable other groups to not allow removing them

This commit is contained in:
j 2014-10-15 09:34:27 +00:00
commit ef0aca6acb
3 changed files with 16 additions and 5 deletions

View file

@ -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() {}
} : {}))
)
)