diff --git a/static/js/entity.js b/static/js/entity.js index 1624ba5d..fb7299e3 100644 --- a/static/js/entity.js +++ b/static/js/entity.js @@ -3,7 +3,7 @@ 'use strict'; pandora.ui.entity = function(options, callback) { - // options: {id, view} + // options: {id, view}, view: 'annotation' or 'entity' pandora.api.getEntity({ id: options.id }, function(response) { @@ -16,7 +16,7 @@ pandora.ui.entity = function(options, callback) { return Ox.isEmpty(value) || Ox.isNull(value) || Ox.isUndefined(value) - ? Ox._(parts[1] || 'unknown') + ? Ox._(parts[1] || 'unknown') : Ox.isArray(value) ? value.join('; ') : value; });