From 51df0ff7b71f2e9e14a308389dd2f3ec6cdca2da Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Dec 2014 15:55:35 +0000 Subject: [PATCH] typo --- static/js/editor.js | 1 + static/js/entityDialog.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/editor.js b/static/js/editor.js index ee40862a..e585c114 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -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); diff --git a/static/js/entityDialog.js b/static/js/entityDialog.js index fe0b8487..cd2b40db 100644 --- a/static/js/entityDialog.js +++ b/static/js/entityDialog.js @@ -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(); } }),