diff --git a/static/js/idDialog.js b/static/js/idDialog.js index e06f5bdd..ba82d19f 100644 --- a/static/js/idDialog.js +++ b/static/js/idDialog.js @@ -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'}) diff --git a/static/js/importAnnotationsDialog.js b/static/js/importAnnotationsDialog.js index 559a8fa7..87593f15 100644 --- a/static/js/importAnnotationsDialog.js +++ b/static/js/importAnnotationsDialog.js @@ -75,7 +75,6 @@ pandora.ui.importAnnotationsDialog = function(options) { if (subtitlesLayer && format == 'srt' && Ox.getObjectById(layers, subtitlesLayer)) { $layerSelect.options({value: subtitlesLayer}) } - updateLanguageSelect(); } that[ data.value.length ? 'enableButton' : 'disableButton' diff --git a/static/js/infoView.js b/static/js/infoView.js index 6e68a95a..e95d2682 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -368,7 +368,7 @@ pandora.ui.infoView = function(data, isMixed) { .append( Ox.EditableContent({ height: 128, - placeholder: formatLight(Ox._(isMixed.notes ? 'Mixed notes' : 'No notes')), + placeholder: formatLight(Ox._(isMixed ? 'Mixed notes' : 'No notes')), tooltip: pandora.getEditTooltip(), type: 'textarea', value: data.notes || '',