diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-07-15 12:18:59 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-07-18 14:47:57 -0400 |
commit | 571274e978434a7b5e17100076172233e7320855 (patch) | |
tree | 6f3218dca5c41aad38d408f311546c72dd5c99d3 /install/ui/search.js | |
parent | 95901bbdb55cdf4213d3da4a79792805f7e8f264 (diff) | |
download | freeipa-571274e978434a7b5e17100076172233e7320855.tar.gz freeipa-571274e978434a7b5e17100076172233e7320855.tar.xz freeipa-571274e978434a7b5e17100076172233e7320855.zip |
Entity select widget improvements
The IPA.entity_select_widget has been modified into a searchable and
editable drop down list. The base functionality has been extracted
into IPA.combobox_widget.
Ticket #1361
Diffstat (limited to 'install/ui/search.js')
-rw-r--r-- | install/ui/search.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/install/ui/search.js b/install/ui/search.js index 29c52c879..1b07908b8 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -96,15 +96,18 @@ IPA.search_facet = function(spec) { that.facet_create_header(container); - var span = $('<span/>', { + var span = $('<div/>', { 'class': 'right-aligned-facet-controls' }).appendTo(that.controls); + var filter_container = $('<div/>', { + 'class': 'search-filter' + }).appendTo(span); + that.filter = $('<input/>', { type: 'text', - 'class': 'search-filter', name: 'filter' - }).appendTo(span); + }).appendTo(filter_container); that.filter.keypress(function(e) { /* if the key pressed is the enter key */ @@ -120,7 +123,7 @@ IPA.search_facet = function(spec) { that.find(); return false; } - }).appendTo(span); + }).appendTo(filter_container); span.append(IPA.create_network_spinner()); |