aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-07 20:50:34 +0200
committerMario <mario@mariovavti.com>2021-04-07 20:50:34 +0200
commit806f50eee3c8d63c8c8bceb89a3595e14cc303c5 (patch)
tree8053f007858c21d0cba79bbf62b17d8dc58a0ee6 /view/js
parent6956eadaad637561561fad83727043f56f36f1b4 (diff)
downloadvolse-hubzilla-806f50eee3c8d63c8c8bceb89a3595e14cc303c5.tar.gz
volse-hubzilla-806f50eee3c8d63c8c8bceb89a3595e14cc303c5.tar.bz2
volse-hubzilla-806f50eee3c8d63c8c8bceb89a3595e14cc303c5.zip
register: more ui/ux work
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_register.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/js/mod_register.js b/view/js/mod_register.js
index 16f9b6da1..1b61e2b3d 100644
--- a/view/js/mod_register.js
+++ b/view/js/mod_register.js
@@ -14,11 +14,11 @@ $(document).ready(function() {
//ano
} else {
if (tao.zar.patema.test(tao.zar.form.email) == false ) {
- $('#help_email').removeClass('text-muted').addClass('zuirise').html(tao.zar.msg.ZAR0239E);
+ $('#help_email').removeClass('text-muted').addClass('text-danger').html(tao.zar.msg.ZAR0239E);
zFormError('#help_email',true);
} else {
$.get('register/email_check.json?f=&email=' + encodeURIComponent(tao.zar.form.email), function(data) {
- $('#help_email').removeClass('text-muted').addClass('zuirise').html(data.message);
+ $('#help_email').removeClass('text-muted').addClass('text-danger').html(data.message);
zFormError('#help_email',data.error);
});
}
@@ -30,7 +30,7 @@ $(document).ready(function() {
$('#id_password').change(function() {
if(($('#id_password').val()).length < 6 ) {
- $('#help_password').removeClass('text-muted').addClass('zuirise').html(aStr.pwshort);
+ $('#help_password').removeClass('text-muted').addClass('text-danger').html(aStr.pwshort);
zFormError('#help_password', true);
}
else {
@@ -42,7 +42,7 @@ $(document).ready(function() {
});
$('#id_password2').change(function() {
if($('#id_password').val() != $('#id_password2').val()) {
- $('#help_password2').removeClass('text-muted').addClass('zuirise').html(aStr.pwnomatch);
+ $('#help_password2').removeClass('text-muted').addClass('text-danger').html(aStr.pwnomatch);
zFormError('#help_password2', true);
$('#id_password').focus();
}