RVRNEXT-30 fix submit button name

This commit is contained in:
Bence Pőcze 2023-05-02 02:21:49 +02:00
parent 789e9e199f
commit 40eb8b5335
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -196,7 +196,7 @@ var RVR = {
}
}
form.elements.submit.disabled = !anyChanged;
form.elements['submit_button'].disabled = !anyChanged;
},
observeInputsInForm: function (form, observedInputs) {
@ -219,7 +219,7 @@ var RVR = {
}
form.onreset = function () {
form.elements.submit.disabled = true;
form.elements['submit_button'].disabled = true;
}
},