From 9d916d2d9f93f26abe0e7f215dbdb5939cb73493 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 16:12:52 +0000 Subject: [PATCH] minor changes --- static/js/entity.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/entity.js b/static/js/entity.js index 1624ba5d8..fb7299e31 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; });