expose findDocumentsSelect and ...Input

This commit is contained in:
j 2019-12-01 17:45:28 +01:00
parent 2889c15dc8
commit 14e197819d

View file

@ -33,7 +33,7 @@ pandora.ui.findDocumentsElement = function() {
} }
}), }),
] : [], [ ] : [], [
$findSelect = Ox.Select({ pandora.$ui.findDocumentsSelect = $findSelect = Ox.Select({
id: 'select', id: 'select',
items: [].concat( items: [].concat(
pandora.site.documentKeys.filter(function(key) { 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(), autocomplete: autocompleteFunction(),
autocompleteSelect: true, autocompleteSelect: true,
autocompleteSelectHighlight: true, autocompleteSelectHighlight: true,