summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-01 16:17:20 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-01 21:22:51 +0000
commit6f4f668f205cb2e943087cb0e8bfa8e799f623b8 (patch)
treeb1b07d003ab5a32ed4ccd7f5fa8d436e4f40fc51
parent3b77268cf298124b0906c98fdd1d31fd1e6700b3 (diff)
downloadfreeipa-6f4f668f205cb2e943087cb0e8bfa8e799f623b8.zip
freeipa-6f4f668f205cb2e943087cb0e8bfa8e799f623b8.tar.gz
freeipa-6f4f668f205cb2e943087cb0e8bfa8e799f623b8.tar.xz
Fixed problem with combobox using Sahi
The IPA.combobox_widget has been temporarily fixed to support automation using Sahi. Ticket #1754
-rw-r--r--install/ui/widget.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index fb1ad8f..12a6b96 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());
}