fixed bugged selectors in action editor

This commit is contained in:
alejandro.campos@artica.es 2022-01-07 13:01:23 +01:00
parent 13c3a6f27d
commit d04d127734
1 changed files with 11 additions and 2 deletions

View File

@ -694,10 +694,19 @@ $(document).ready (function () {
}
}
else {
var is_element_select = $("[name=field" + i + "_value]").is("select");
$("[name=field" + i + "_value]").val(old_value);
$("[name=field" + i + "_value]").trigger('change');
if (is_element_select === true) {
$("[name=field" + i + "_value]").trigger('change');
}
$("[name=field" + i + "_recovery_value]").val(old_recovery_value);
$("[name=field" + i + "_recovery_value]").trigger('change');
if (is_element_select === true) {
$("[name=field" + i + "_recovery_value]").trigger('change');
}
}
}
else {