From 7354594f375498b06295f7688e6462d6ccfce3b4 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 7 Mar 2012 13:52:41 +0000 Subject: [PATCH] [-] BO : #PSTEST-971 emails smtp configuration git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13925 b9a71923-0436-4b27-9f14-aed3839534dd --- .../themes/default/template/controllers/emails/content.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin-dev/themes/default/template/controllers/emails/content.tpl b/admin-dev/themes/default/template/controllers/emails/content.tpl index 640f39925..abfc84a28 100644 --- a/admin-dev/themes/default/template/controllers/emails/content.tpl +++ b/admin-dev/themes/default/template/controllers/emails/content.tpl @@ -30,6 +30,10 @@ var textSendOk = "{l s='Mail is sent'}"; var textSendError= "{l s='Error: please check your configuration'}"; var errorMail = "{l s='This email address is wrong!'}"; + $(document).ready(function() { + if ($('input[name=PS_MAIL_METHOD]:checked').val() == 2) + $('#smtp').show(); + });