mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
b2cd8f0abf
commit
9cd76c5bf9
@ -1719,14 +1719,12 @@ IPA.combobox_widget = function(spec) {
|
|||||||
name: 'list',
|
name: 'list',
|
||||||
size: that.list_size,
|
size: that.list_size,
|
||||||
style: 'width: 100%',
|
style: 'width: 100%',
|
||||||
click: function() {
|
|
||||||
that.close();
|
|
||||||
},
|
|
||||||
change: function() {
|
change: function() {
|
||||||
var value = $('option:selected', that.list).val();
|
var value = $('option:selected', that.list).val();
|
||||||
that.input.val(value);
|
that.input.val(value);
|
||||||
IPA.select_range(that.input, 0, 0);
|
IPA.select_range(that.input, 0, 0);
|
||||||
|
|
||||||
|
that.close();
|
||||||
that.validate();
|
that.validate();
|
||||||
that.set_dirty(that.test_dirty());
|
that.set_dirty(that.test_dirty());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user