From 1838c7be86bf507ddd82643e3d50a2a6e0b84d22 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 21 Nov 2014 14:51:11 +0000 Subject: [PATCH] ui.entity -> entity --- static/js/entitiesDialog.js | 2 +- static/js/entity.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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