use documentKeys

This commit is contained in:
j 2018-09-18 23:16:20 +02:00
parent f223b45601
commit 38315e0c60

View file

@ -385,7 +385,7 @@ pandora.ui.documentInfoView = function(data) {
}
function formatKey(key, mode) {
var item = Ox.getObjectById(pandora.site.itemKeys, key);
var item = Ox.getObjectById(pandora.site.documentKeys, key);
key = Ox._(item ? item.title : key);
mode = mode || 'text';
return mode == 'text'