Fixed problem selecting value from combobox
The IPA.combobox_widget has been modified to use the 'change' event to capture the selected value from the drop-down list. Ticket #1654
This commit is contained in:
1 parent
0ec6b4fe1f
commit
2012f847f3
1 file changed
+2
-2
@@ -1680,12 +1680,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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user