diff --git a/static/js/importMediaDialog.js b/static/js/importMediaDialog.js index f395d0c0..d8801670 100644 --- a/static/js/importMediaDialog.js +++ b/static/js/importMediaDialog.js @@ -93,7 +93,7 @@ pandora.ui.importMediaDialog = function(options) { "title", "uploader", "url" ]; 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) { infoValue = info[infoKey]; if (key == 'year') {