mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-13 01:31:56 -06:00
webui: unable to select single value in CB by enter key
Fix: If editable combobox has one value, the value is selected and changed by hand, it can't be re-selected by enter key. Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
d1691eee88
commit
f7eeaa4ce0
@ -3818,6 +3818,7 @@ IPA.combobox_widget = function(spec) {
|
||||
that.list_on_keyup = function(e) {
|
||||
if (e.which === keys.ENTER || e.which === keys.SPACE) {
|
||||
e.stopPropagation();
|
||||
that.list_on_change();
|
||||
that.close();
|
||||
IPA.select_range(that.input, 0, 0);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user