mirror of
https://github.com/status-im/status-site-legacy.git
synced 2025-02-18 01:56:40 +00:00
improved form
This commit is contained in:
parent
2611824eff
commit
60b704f180
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user