fix import media dialog
This commit is contained in:
parent
adfaa863c3
commit
92fb9e3792
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ pandora.ui.importMediaDialog = function(options) {
|
||||||
"title", "uploader", "url"
|
"title", "uploader", "url"
|
||||||
];
|
];
|
||||||
var values = Ox.map(pandora.site.importMetadata, function(value, key) {
|
var values = Ox.map(pandora.site.importMetadata, function(value, key) {
|
||||||
var type = pandora.site.itemKeys[key].type;
|
var type = Ox.getObjectById(pandora.site.itemKeys, key).type;
|
||||||
infoKeys.forEach(function(infoKey) {
|
infoKeys.forEach(function(infoKey) {
|
||||||
infoValue = info[infoKey];
|
infoValue = info[infoKey];
|
||||||
if (key == 'year') {
|
if (key == 'year') {
|
||||||
|
|
Loading…
Reference in a new issue