diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index 912741827..1dfe62ec1 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -313,7 +313,7 @@ pandora.ui.entitiesDialog = function(options) { $entity.empty(); return; } - pandora.ui.entity({ + pandora.entity({ id: id, type: type, view: 'entity' diff --git a/static/js/entity.js b/static/js/entity.js index fb7299e31..a3806f20e 100644 --- a/static/js/entity.js +++ b/static/js/entity.js @@ -2,7 +2,7 @@ 'use strict'; -pandora.ui.entity = function(options, callback) { +pandora.entity = function(options, callback) { // options: {id, view}, view: 'annotation' or 'entity' pandora.api.getEntity({ id: options.id