The IPA.combobox_widget has been modified to use the 'change' event to capture the selected value from the drop-down list.
Ticket #1654 Pushed to master and ipa-2-1 under one-liner/trivial rule. -- Endi S. Dewata
From 347854b34129807a70dd08982f684d20e62c253f Mon Sep 17 00:00:00 2001 From: Endi S. Dewata <edew...@redhat.com> Date: Wed, 17 Aug 2011 12:11:42 -0500 Subject: [PATCH] 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 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/ui/widget.js b/install/ui/widget.js index b60b2a610bbd7bdca4d068db0c4483dc3bb03948..e30cacd7c2eb86ca4ddf96a65a267a58d156b68f 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()); } -- 1.7.5.1
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel