forked from 0x2620/pandora
ui.entity -> entity
This commit is contained in:
parent
40083923cb
commit
1838c7be86
2 changed files with 2 additions and 2 deletions
|
@ -313,7 +313,7 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
$entity.empty();
|
$entity.empty();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pandora.ui.entity({
|
pandora.entity({
|
||||||
id: id,
|
id: id,
|
||||||
type: type,
|
type: type,
|
||||||
view: 'entity'
|
view: 'entity'
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
pandora.ui.entity = function(options, callback) {
|
pandora.entity = function(options, callback) {
|
||||||
// options: {id, view}, view: 'annotation' or 'entity'
|
// options: {id, view}, view: 'annotation' or 'entity'
|
||||||
pandora.api.getEntity({
|
pandora.api.getEntity({
|
||||||
id: options.id
|
id: options.id
|
||||||
|
|
Loading…
Reference in a new issue