only map keys if not already defined
This commit is contained in:
parent
e859e29f9a
commit
a1725a5f92
1 changed files with 3 additions and 0 deletions
|
@ -181,6 +181,9 @@ pandora.ui.metadataDialog = function(data) {
|
|||
}
|
||||
|
||||
function getKey(key) {
|
||||
if (Ox.getObjectById(pandora.site.itemKeys, key) && mapKeys[key]) {
|
||||
return key
|
||||
}
|
||||
return mapKeys[key] || key;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue