metadata dialog: better defaults

This commit is contained in:
rolux 2013-02-28 10:38:20 +05:30
parent f4ae57ea44
commit bcd3876ec1

View file

@ -210,8 +210,8 @@ pandora.ui.metadataDialog = function(data) {
Ox.isEmpty(data[key]) && Ox.isUndefined(imdb[key])
),
checked = isEqual ? [true, true]
: !Ox.isUndefined(data[key]) && Ox.isUndefined(imdb[key]) ? [true, false]
: [false, true];
: Ox.isEmpty(data[key]) && !Ox.isUndefined(imdb[key]) ? [false, true]
: [true, false];
if (index > 0) {
$('<div>')
.css({