RVRNEXT-5 formError should be searched in the whole document
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
This commit is contained in:
parent
9a6e95673e
commit
91d064947e
@ -49,7 +49,7 @@ var RVR = {
|
|||||||
document.getElementById('loading').style.visibility = 'visible';
|
document.getElementById('loading').style.visibility = 'visible';
|
||||||
|
|
||||||
var formData = new FormData(form);
|
var formData = new FormData(form);
|
||||||
var formError = form.getElementsByClassName('formError')[0];
|
var formError = document.getElementsByClassName('formError')[0];
|
||||||
var pageLeaveOnSuccess = form.dataset.redirectOnSuccess || form.dataset.reloadOnSuccess;
|
var pageLeaveOnSuccess = form.dataset.redirectOnSuccess || form.dataset.reloadOnSuccess;
|
||||||
|
|
||||||
RVR.httpRequest('POST', form.action, function () {
|
RVR.httpRequest('POST', form.action, function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user