forked from extern/egroupware
Fix radiobox widget calling onchange event infinitely
This commit is contained in:
parent
e188c9f904
commit
f63a0a6075
@ -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).change();
|
||||
radio.input.prop('checked', _value == radio.options.set_value);
|
||||
}
|
||||
}, this, et2_radiobox);
|
||||
};
|
||||
|
@ -124,7 +124,7 @@ export class et2_radiobox extends et2_inputWidget
|
||||
{
|
||||
if (radio.id == this.id)
|
||||
{
|
||||
radio.input.prop('checked', _value == radio.options.set_value).change();
|
||||
radio.input.prop('checked', _value == radio.options.set_value);
|
||||
}
|
||||
}, this, et2_radiobox);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user