mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: fix combobox styles to work with selenium testing
https://fedorahosted.org/freeipa/ticket/3903 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user