diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index 91274182..1dfe62ec 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 fb7299e3..a3806f20 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