From 6c0e7186fb296d4f3f4666ccf79b2e3b7fbd3d43 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 22 May 2012 13:08:37 +0000 Subject: [PATCH] //fixed #PSCFV-2281 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15618 b9a71923-0436-4b27-9f14-aed3839534dd --- themes/default/authentication.tpl | 6 ++++-- themes/default/css/global.css | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/themes/default/authentication.tpl b/themes/default/authentication.tpl index 3282cb272..7800b04fe 100644 --- a/themes/default/authentication.tpl +++ b/themes/default/authentication.tpl @@ -92,6 +92,7 @@ $(function(){ldelim} }); function submitFunction() { + $('#create_account_error').html('').hide(); //send the ajax request to the server $.ajax({ type: 'POST', @@ -114,8 +115,8 @@ $(function(){ldelim} for(error in jsonData.errors) //IE6 bug fix if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); + errors += '
  • '+jsonData.errors[error]+'
  • '; + $('#create_account_error').html('
      '+errors+'
    ').show(); } else { @@ -155,6 +156,7 @@ $(function(){ldelim}

    {l s='Create your account'}

    {l s='Enter your e-mail address to create an account'}.

    +

    diff --git a/themes/default/css/global.css b/themes/default/css/global.css index da34cec5a..30c55c3e8 100644 --- a/themes/default/css/global.css +++ b/themes/default/css/global.css @@ -864,7 +864,7 @@ table#cart_summary .gift-icon { #authentication #create-account_form fieldset, #authentication #login_form fieldset { - height: 170px + height: 200px } #authentication #create-account_form .form_content,