summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-17 12:11:42 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-08-17 18:03:29 +0000
commit2012f847f3e778d8a5c248a373587aeec18a52b5 (patch)
tree6b64c74ae347deac777c9b3795a6c0ea7d9b6c82 /install
parent0ec6b4fe1f813c80936b2703e5d486613e8457e7 (diff)
downloadfreeipa-2012f847f3e778d8a5c248a373587aeec18a52b5.tar.gz
freeipa-2012f847f3e778d8a5c248a373587aeec18a52b5.tar.xz
freeipa-2012f847f3e778d8a5c248a373587aeec18a52b5.zip
Fixed problem selecting value from combobox
The IPA.combobox_widget has been modified to use the 'change' event to capture the selected value from the drop-down list. Ticket #1654
Diffstat (limited to 'install')
-rw-r--r--install/ui/widget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index b60b2a610..e30cacd7c 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -1680,12 +1680,12 @@ IPA.combobox_widget = function(spec) {
name: 'list',
size: that.list_size,
style: 'width: 100%',
- click: function(){
- that.close();
+ change: function() {
var value = $('option:selected', that.list).val();
that.input.val(value);
IPA.select_range(that.input, 0, 0);
+ that.close();
that.validate();
that.set_dirty(that.test_dirty());
}