don't fail on empty title

This commit is contained in:
j 2023-01-04 13:58:15 +00:00
parent a80af18400
commit 99a135c7d3

View file

@ -312,7 +312,7 @@ pandora.ui.infoView = function(data, isMixed) {
editable: canEdit, editable: canEdit,
placeholder: formatLight(Ox._('No Title')), placeholder: formatLight(Ox._('No Title')),
tooltip: canEdit ? pandora.getEditTooltip() : '', tooltip: canEdit ? pandora.getEditTooltip() : '',
value: data.title value: data.title || ""
}) })
.css({ .css({
fontWeight: 'bold', fontWeight: 'bold',