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:31 +0000
commit9cd76c5bf9457fc6304106741718a1e4e404a1f9 (patch)
tree61363ef1da48dcafeb59a50ca401cd9e3b678704
parentb2cd8f0abfe0c63dc8c9c5b9eb551621bbdb51d5 (diff)
downloadfreeipa-9cd76c5bf9457fc6304106741718a1e4e404a1f9.tar.gz
freeipa-9cd76c5bf9457fc6304106741718a1e4e404a1f9.tar.xz
freeipa-9cd76c5bf9457fc6304106741718a1e4e404a1f9.zip
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 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());
}