improved form

This commit is contained in:
andmironov 2016-12-15 15:28:21 +03:00
parent 2611824eff
commit 60b704f180

View File

@ -337,9 +337,11 @@
}, },
showErrors: function(errorMap, errorList) { showErrors: function(errorMap, errorList) {
if(errorMap.hasOwnProperty("EMAIL")) {
shakeForm()
var content = errorMap.EMAIL; var content = errorMap.EMAIL;
showErrorMessage(content); showErrorMessage(content);
shakeForm() }
}, },
// Submit the form via ajax (see: jQuery Form plugin) // Submit the form via ajax (see: jQuery Form plugin)