forked from 0x2620/pandora
metadata dialog: better defaults
This commit is contained in:
parent
f4ae57ea44
commit
bcd3876ec1
1 changed files with 2 additions and 2 deletions
|
@ -210,8 +210,8 @@ pandora.ui.metadataDialog = function(data) {
|
||||||
Ox.isEmpty(data[key]) && Ox.isUndefined(imdb[key])
|
Ox.isEmpty(data[key]) && Ox.isUndefined(imdb[key])
|
||||||
),
|
),
|
||||||
checked = isEqual ? [true, true]
|
checked = isEqual ? [true, true]
|
||||||
: !Ox.isUndefined(data[key]) && Ox.isUndefined(imdb[key]) ? [true, false]
|
: Ox.isEmpty(data[key]) && !Ox.isUndefined(imdb[key]) ? [false, true]
|
||||||
: [false, true];
|
: [true, false];
|
||||||
if (index > 0) {
|
if (index > 0) {
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.css({
|
.css({
|
||||||
|
|
Loading…
Reference in a new issue