forked from 0x2620/pandora
don't list undefined as year
This commit is contained in:
parent
5863e7fb31
commit
6c7c08448d
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ pandora.ui.idDialog = function(data) {
|
||||||
labelWidth: 128,
|
labelWidth: 128,
|
||||||
value: Ox.decodeHTMLEntities(key == 'director' && data[key]
|
value: Ox.decodeHTMLEntities(key == 'director' && data[key]
|
||||||
? data[key].join(', ')
|
? data[key].join(', ')
|
||||||
: ('' + data[key])),
|
: ('' + (data[key] || ''))),
|
||||||
width: formWidth
|
width: formWidth
|
||||||
})
|
})
|
||||||
.css({display: 'inline-block', margin: '3px'})
|
.css({display: 'inline-block', margin: '3px'})
|
||||||
|
|
Loading…
Reference in a new issue