diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-08-17 12:11:42 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-08-17 18:04:36 +0000 |
commit | 73d756bc70dd47d672ed7a88c3452cc08fc7a759 (patch) | |
tree | 6b64c74ae347deac777c9b3795a6c0ea7d9b6c82 /install/ui | |
parent | 7793cbb482483df93acd813ed25246da71512c99 (diff) | |
download | freeipa-73d756bc70dd47d672ed7a88c3452cc08fc7a759.tar.gz freeipa-73d756bc70dd47d672ed7a88c3452cc08fc7a759.tar.xz freeipa-73d756bc70dd47d672ed7a88c3452cc08fc7a759.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/ui')
-rw-r--r-- | install/ui/widget.js | 4 |
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()); } |