From 14e197819d6a6ad7f2950afeaa4895c7a3f4e045 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 1 Dec 2019 17:45:28 +0100 Subject: [PATCH] expose findDocumentsSelect and ...Input --- static/js/findDocumentsElement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/findDocumentsElement.js b/static/js/findDocumentsElement.js index ad7efcb13..4f5dd4649 100644 --- a/static/js/findDocumentsElement.js +++ b/static/js/findDocumentsElement.js @@ -33,7 +33,7 @@ pandora.ui.findDocumentsElement = function() { } }), ] : [], [ - $findSelect = Ox.Select({ + pandora.$ui.findDocumentsSelect = $findSelect = Ox.Select({ id: 'select', items: [].concat( pandora.site.documentKeys.filter(function(key) { @@ -70,7 +70,7 @@ pandora.ui.findDocumentsElement = function() { } } }), - $findInput = Ox.Input({ + pandora.$ui.findDocumentsInput = $findInput = Ox.Input({ autocomplete: autocompleteFunction(), autocompleteSelect: true, autocompleteSelectHighlight: true,