forked from 0x2620/pandora
don't fail on empty title
This commit is contained in:
parent
a80af18400
commit
99a135c7d3
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue