use documentKeys
This commit is contained in:
parent
f223b45601
commit
38315e0c60
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ pandora.ui.documentInfoView = function(data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatKey(key, mode) {
|
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);
|
key = Ox._(item ? item.title : key);
|
||||||
mode = mode || 'text';
|
mode = mode || 'text';
|
||||||
return mode == 'text'
|
return mode == 'text'
|
||||||
|
|
Loading…
Reference in a new issue