Merge branch 'ent-8388-bug-en-eventos-generados-a-partir-alerta' into 'develop'
fixed bugged selectors in action editor See merge request artica/pandorafms!4618
This commit is contained in:
commit
4899d68ec2
|
@ -694,10 +694,19 @@ $(document).ready (function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
var is_element_select = $("[name=field" + i + "_value]").is("select");
|
||||||
|
|
||||||
$("[name=field" + i + "_value]").val(old_value);
|
$("[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]").val(old_recovery_value);
|
||||||
$("[name=field" + i + "_recovery_value]").trigger('change');
|
|
||||||
|
if (is_element_select === true) {
|
||||||
|
$("[name=field" + i + "_recovery_value]").trigger('change');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue