From f7eeaa4ce04883d4d8ffbd3305050fabfcd6deb4 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 12 Nov 2014 15:41:44 +0100 Subject: [PATCH] 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 --- install/ui/src/freeipa/widget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 1ef1a2bf2..6767b520e 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -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;