From a1725a5f9257ca8d473f169832eb3cdd751e99fa Mon Sep 17 00:00:00 2001 From: j Date: Tue, 19 Nov 2019 17:23:23 +0100 Subject: [PATCH] only map keys if not already defined --- static/js/metadataDialog.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/metadataDialog.js b/static/js/metadataDialog.js index 06ee9d7d..c9e5c3ea 100644 --- a/static/js/metadataDialog.js +++ b/static/js/metadataDialog.js @@ -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; }