update info view

This commit is contained in:
Rolux 2015-09-21 17:38:41 +01:00
parent 2cf2d4efa1
commit 121fbe54b5

View file

@ -312,7 +312,7 @@ pandora.ui.infoView = function(data) {
} }
}) })
.appendTo($div); .appendTo($div);
if (canEdit || data[key + 'description']) { if (key == 'collection' && (canEdit || data[key + 'description'])) {
$('<div>') $('<div>')
.append( .append(
descriptions[key] = Ox.EditableContent({ descriptions[key] = Ox.EditableContent({
@ -338,7 +338,7 @@ pandora.ui.infoView = function(data) {
).css({ ).css({
margin: '12px 0', margin: '12px 0',
}) })
.appendTo($div); .appendTo($text);
} }
} }
}); });