This commit is contained in:
rolux 2014-12-17 15:55:35 +00:00
parent ad4e2eb09a
commit 51df0ff7b7
2 changed files with 3 additions and 1 deletions

View file

@ -19,6 +19,7 @@ pandora.ui.editor = function(data) {
pandora.api.autocompleteEntities({
key: key,
operator: '=',
range: [0, 20],
value: value
}, function(result) {
callback(result.data.items);

View file

@ -19,7 +19,8 @@ pandora.ui.entityDialog = function() {
click: function() {
var part = ui.part.entities;
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();
}
}),