diff options
author | friendica <info@friendica.com> | 2015-03-15 16:51:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-15 16:51:35 -0700 |
commit | d7a6dae3cbf88cfc579674caa694a01f4e54ab89 (patch) | |
tree | 8d76a3635a61fedf57ff74442311bb3453d84a26 /view/js/mod_register.js | |
parent | 6da40fc559f540e67802f771411aa9f85dc8d64d (diff) | |
parent | e780dada832acbb9d46870178f9a6488f4e265d9 (diff) | |
download | volse-hubzilla-d7a6dae3cbf88cfc579674caa694a01f4e54ab89.tar.gz volse-hubzilla-d7a6dae3cbf88cfc579674caa694a01f4e54ab89.tar.bz2 volse-hubzilla-d7a6dae3cbf88cfc579674caa694a01f4e54ab89.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/js/mod_register.js')
-rw-r--r-- | view/js/mod_register.js | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/view/js/mod_register.js b/view/js/mod_register.js index 839c91911..95bc7bbbb 100644 --- a/view/js/mod_register.js +++ b/view/js/mod_register.js @@ -1,29 +1,29 @@ - $(document).ready(function() { - $("#register-email").blur(function() { - var zreg_email = $("#register-email").val(); - $.get("register/email_check.json?f=&email=" + encodeURIComponent(zreg_email),function(data) { - $("#register-email-feedback").html(data.message); - zFormError("#register-email-feedback",data.error); - }); - }); - $("#register-password").blur(function() { - if(($("#register-password").val()).length < 6 ) { - $("#register-password-feedback").html(aStr['pwshort']); - zFormError("#register-password-feedback",true); - } - else { - $("#register-password-feedback").html(""); - zFormError("#register-password-feedback",false); - } - }); - $("#register-password2").blur(function() { - if($("#register-password").val() != $("#register-password2").val()) { - $("#register-password2-feedback").html(aStr['pwnomatch']); - zFormError("#register-password2-feedback",true); - } - else { - $("#register-password2-feedback").html(""); - zFormError("#register-password2-feedback",false); - } +$(document).ready(function() { + $("#register-email").blur(function() { + var zreg_email = $("#register-email").val(); + $.get("register/email_check.json?f=&email=" + encodeURIComponent(zreg_email), function(data) { + $("#register-email-feedback").html(data.message); + zFormError("#register-email-feedback",data.error); }); }); + $("#register-password").blur(function() { + if(($("#register-password").val()).length < 6 ) { + $("#register-password-feedback").html(aStr.pwshort); + zFormError("#register-password-feedback", true); + } + else { + $("#register-password-feedback").html(""); + zFormError("#register-password-feedback", false); + } + }); + $("#register-password2").blur(function() { + if($("#register-password").val() != $("#register-password2").val()) { + $("#register-password2-feedback").html(aStr.pwnomatch); + zFormError("#register-password2-feedback", true); + } + else { + $("#register-password2-feedback").html(""); + zFormError("#register-password2-feedback", false); + } + }); +});
\ No newline at end of file |