... ensure the form immediately submits.
This commit is contained in:
parent
9152844152
commit
60d7c47cda
|
@ -117,6 +117,10 @@ jQuery(function ($) {
|
|||
});
|
||||
|
||||
if (isValid) {
|
||||
|
||||
// When using the "are you sure?" plugin, ensure the form immediately submits.
|
||||
$(form).removeClass('dirty');
|
||||
|
||||
form.submit();
|
||||
} else {
|
||||
userform.errorContainer.show();
|
||||
|
|
Loading…
Reference in New Issue