Compare commits

..

3 commits

Author SHA1 Message Date
j
6c7c08448d don't list undefined as year 2019-11-20 15:29:41 +01:00
j
5863e7fb31 fix mixed notes 2019-11-20 13:37:16 +01:00
j
8240a9ede6 enable languages 2019-11-20 13:28:46 +01:00
3 changed files with 3 additions and 2 deletions

View file

@ -97,7 +97,7 @@ pandora.ui.idDialog = function(data) {
labelWidth: 128,
value: Ox.decodeHTMLEntities(key == 'director' && data[key]
? data[key].join(', ')
: ('' + data[key])),
: ('' + (data[key] || ''))),
width: formWidth
})
.css({display: 'inline-block', margin: '3px'})

View file

@ -75,6 +75,7 @@ pandora.ui.importAnnotationsDialog = function(options) {
if (subtitlesLayer && format == 'srt' && Ox.getObjectById(layers, subtitlesLayer)) {
$layerSelect.options({value: subtitlesLayer})
}
updateLanguageSelect();
}
that[
data.value.length ? 'enableButton' : 'disableButton'

View file

@ -368,7 +368,7 @@ pandora.ui.infoView = function(data, isMixed) {
.append(
Ox.EditableContent({
height: 128,
placeholder: formatLight(Ox._(isMixed ? 'Mixed notes' : 'No notes')),
placeholder: formatLight(Ox._(isMixed.notes ? 'Mixed notes' : 'No notes')),
tooltip: pandora.getEditTooltip(),
type: 'textarea',
value: data.notes || '',