Add hidden field to mobile

This commit is contained in:
Michael RICOIS 2017-12-13 11:49:06 +01:00
parent 6927c87ce0
commit 80c97d2867

View File

@ -74,8 +74,10 @@
<label for="email">{l s='E-mail address'}</label>
{if isset($customerThread.email)}
<input type="text" id="email" name="from" value="{$customerThread.email}" readonly="readonly" />
<input type="text" id="email2" name="email2" value="{$customerThread.email}" />
{else}
<input type="text" id="email" name="from" value="{$email}" />
<input type="text" id="email2" name="email2" value="{if empty($email)}-{else}{$email}{/if}" />
{/if}
</p>
{if !$PS_CATALOG_MODE}
@ -140,6 +142,7 @@
{literal}
<script>
$(function() {
$('input#email2').val('').hide();
if($("option:selected", $('#id_contact')).val() == 9 || $("option:selected", $('#id_contact')).val() == 1 || $("option:selected", $('#id_contact')).val() == 2){
$('.overlay_bbb').fadeIn();
$('.box_waiting').fadeIn();