only map keys if not already defined

This commit is contained in:
j 2019-11-19 17:23:23 +01:00
parent e859e29f9a
commit a1725a5f92

View file

@ -181,6 +181,9 @@ pandora.ui.metadataDialog = function(data) {
} }
function getKey(key) { function getKey(key) {
if (Ox.getObjectById(pandora.site.itemKeys, key) && mapKeys[key]) {
return key
}
return mapKeys[key] || key; return mapKeys[key] || key;
} }