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) {
|
||||
var content = errorMap.EMAIL;
|
||||
showErrorMessage(content);
|
||||
shakeForm()
|
||||
if(errorMap.hasOwnProperty("EMAIL")) {
|
||||
shakeForm()
|
||||
var content = errorMap.EMAIL;
|
||||
showErrorMessage(content);
|
||||
}
|
||||
},
|
||||
|
||||
// Submit the form via ajax (see: jQuery Form plugin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user