Fixed problem with combobox using Sahi

The IPA.combobox_widget has been temporarily fixed to support automation
using Sahi.

Ticket #1754
This commit is contained in:
Endi S. Dewata 2011-09-01 16:17:20 -05:00
parent b2cd8f0abf
commit 9cd76c5bf9

View File

@ -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());
}