typo
This commit is contained in:
parent
ad4e2eb09a
commit
51df0ff7b7
2 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,7 @@ pandora.ui.editor = function(data) {
|
||||||
pandora.api.autocompleteEntities({
|
pandora.api.autocompleteEntities({
|
||||||
key: key,
|
key: key,
|
||||||
operator: '=',
|
operator: '=',
|
||||||
|
range: [0, 20],
|
||||||
value: value
|
value: value
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
callback(result.data.items);
|
callback(result.data.items);
|
||||||
|
|
|
@ -19,7 +19,8 @@ pandora.ui.entityDialog = function() {
|
||||||
click: function() {
|
click: function() {
|
||||||
var part = ui.part.entities;
|
var part = ui.part.entities;
|
||||||
that.close();
|
that.close();
|
||||||
ui.set({'part.entities': part});
|
pandora.UI.set({'part.entities': part});
|
||||||
|
// FIXME: Also set ui.entitiesType
|
||||||
pandora.$ui.entitiesDialog = pandora.ui.entitiesDialog().open();
|
pandora.$ui.entitiesDialog = pandora.ui.entitiesDialog().open();
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue