[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ocs-webserver/dev] application/modules/default/views/scripts/authorization: register
From:       Ronald von Schlegell <null () kde ! org>
Date:       2018-09-13 10:21:17
Message-ID: E1g0OkP-0004Ob-6s () code ! kde ! org
[Download RAW message or body]

Git commit 3a4c1fbcf34ea88edf8cb2185ef968fd4a568bf7 by Ronald von Schlegell.
Committed on 13/09/2018 at 10:21.
Pushed by ronaldv into branch 'dev'.

register

M  +3    -1    application/modules/default/views/scripts/authorization/register.phtml

https://commits.kde.org/ocs-webserver/3a4c1fbcf34ea88edf8cb2185ef968fd4a568bf7

diff --git a/application/modules/default/views/scripts/authorization/register.phtml \
b/application/modules/default/views/scripts/authorization/register.phtml index \
                28ab4c16..8702ad97 100644
--- a/application/modules/default/views/scripts/authorization/register.phtml
+++ b/application/modules/default/views/scripts/authorization/register.phtml
@@ -161,7 +161,7 @@ $('document').ready(function(){
                         $msgString += '</ul>';
                             $('#'+id).parent().append($msgString);
                         if($msgString == '<ul class="errors" style="text-align: \
                left;"></ul>') {
-                            $('#'+id).parent().append('<ul class="errors" \
style="text-align: left;"><li>This '+id+' is already taken</li></ul>'); +             \
$('#'+id).parent().append('<ul class="errors" style="text-align: left;"><li \
class="errors">This '+id+' is already taken</li></ul>');  }
                     }
                 } else {
@@ -169,6 +169,8 @@ $('document').ready(function(){
                     $('#login').removeAttr("disabled");
                     $('#'+id).parent().addClass('has-success');
                     $('#'+id).parent().append('<i class="glyphicon glyphicon-ok \
form-control-feedback"></i>'); +                    \
$('#'+id).parent().find('.errors').remove(); +                    \
$('#'+id).parent().append('<ul class="errors" style="visibility: \
hidden;"><li></li></ul>');  }
             },'json');
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic