ui.entity -> entity

This commit is contained in:
rolux 2014-11-21 14:51:11 +00:00
parent 40083923cb
commit 1838c7be86
2 changed files with 2 additions and 2 deletions

View file

@ -313,7 +313,7 @@ pandora.ui.entitiesDialog = function(options) {
$entity.empty();
return;
}
pandora.ui.entity({
pandora.entity({
id: id,
type: type,
view: 'entity'

View file

@ -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