From 6f4f668f205cb2e943087cb0e8bfa8e799f623b8 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 1 Sep 2011 16:17:20 -0500 Subject: Fixed problem with combobox using Sahi The IPA.combobox_widget has been temporarily fixed to support automation using Sahi. Ticket #1754 --- install/ui/widget.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'install') diff --git a/install/ui/widget.js b/install/ui/widget.js index fb1ad8fbd..12a6b966c 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -1719,14 +1719,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