submitForm is not defined in change role
In change_role.html
file, method submitForm
is being called but it does not exist.
<button
type="button"
class="button p-less"
th:text="#{person.change_role}"
th:onclick="|submitForm('change-role-${role.person.id}')|"></button>
To replicate:
- Go to
/edition/2/staff
- Change role of someone
Edited by Danae Savvidi