dont fail on undefined values
This commit is contained in:
parent
28ba382f11
commit
c7525de61a
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ pandora.ui.infoView = function(data) {
|
|||
Ox.Editable({
|
||||
editable: canEdit,
|
||||
tooltip: canEdit ? pandora.getEditTooltip() : '',
|
||||
value: data.title
|
||||
value: data.title || ''
|
||||
})
|
||||
.css({
|
||||
display: 'inline-block',
|
||||
|
@ -387,7 +387,7 @@ pandora.ui.infoView = function(data) {
|
|||
placeholder: formatLight('No notes'),
|
||||
tooltip: pandora.getEditTooltip(),
|
||||
type: 'textarea',
|
||||
value: data.notes,
|
||||
value: data.notes || '',
|
||||
width: 128
|
||||
})
|
||||
.bindEvent({
|
||||
|
|
Loading…
Reference in a new issue