mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:57 +01:00
Fix radio widget onchange not being called when value is getting set
This commit is contained in:
parent
319ae2637c
commit
cf8f421c4d
@ -100,7 +100,7 @@ var et2_radiobox = /** @class */ (function (_super) {
|
||||
et2_radiobox.prototype.set_value = function (_value) {
|
||||
this.getRoot().iterateOver(function (radio) {
|
||||
if (radio.id == this.id) {
|
||||
radio.input.prop('checked', _value == radio.options.set_value);
|
||||
radio.input.prop('checked', _value == radio.options.set_value).change();
|
||||
}
|
||||
}, this, et2_radiobox);
|
||||
};
|
||||
|
@ -124,7 +124,7 @@ class et2_radiobox extends et2_inputWidget
|
||||
{
|
||||
if (radio.id == this.id)
|
||||
{
|
||||
radio.input.prop('checked', _value == radio.options.set_value);
|
||||
radio.input.prop('checked', _value == radio.options.set_value).change();
|
||||
}
|
||||
}, this, et2_radiobox);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user