Add hidden field to mobile
This commit is contained in:
parent
6927c87ce0
commit
80c97d2867
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user