summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/ipa.css2
-rw-r--r--install/ui/src/freeipa/widget.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index ca8ccaffc..7109be3d4 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -1013,7 +1013,6 @@ table.scrollable tbody {
}
.combobox-widget-list {
- visibility: hidden;
border: 1px solid #A0A0A0;
background: #EEEEEE;
padding: 5px;
@@ -1027,6 +1026,7 @@ table.scrollable tbody {
}
.combobox-widget-list a {
+ position: relative;
padding: 0;
margin: 0;
}
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index 0c02019e1..568696b5b 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -3305,7 +3305,7 @@ IPA.combobox_widget = function(spec) {
that.list_container = $('<div/>', {
'class': 'combobox-widget-list',
- css: { 'z-index': that.z_index },
+ css: { 'z-index': that.z_index, 'display':'none' },
keydown: that.on_list_container_keydown
}).appendTo(that.input_container);
@@ -3505,16 +3505,16 @@ IPA.combobox_widget = function(spec) {
that.open = function() {
if (!that.read_only && that.enabled) {
- that.list_container.css('visibility', 'visible');
+ that.list_container.css('display', '');
}
};
that.close = function() {
- that.list_container.css('visibility', 'hidden');
+ that.list_container.css('display', 'none');
};
that.is_open = function() {
- return that.list_container.css('visibility') == 'visible';
+ return that.list_container.css('display') != 'none';
};
that.search = function(filter, on_success, on_error) {