From 73d756bc70dd47d672ed7a88c3452cc08fc7a759 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 17 Aug 2011 12:11:42 -0500 Subject: 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 --- install/ui/widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install') 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()); } -- cgit