Merge branch 'fix-AideContact'
This commit is contained in:
commit
e52b90f790
@ -125,6 +125,38 @@
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div class="overlay_bbb" style="display: none;"></div>
|
||||
<div class="box_add_to_cart box_waiting" style="display: none;">
|
||||
<div class="content">
|
||||
<p style="text-align: center;">
|
||||
<img style="width:100%;" src="{if isset($site_version) && $site_version == 'es'}/img/logo_3.png{else}/img/logo_2.png{/if}" alt="">
|
||||
<br />
|
||||
<span>{l s='Redirection vers le formulaire, veuillez patienter'}</span>
|
||||
<br />
|
||||
<img src="img/loader_payment.gif" alt="">
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
$(function() {
|
||||
if($("option:selected", $('#id_contact')).val() == 9 || $("option:selected", $('#id_contact')).val() == 1){
|
||||
$('.overlay_bbb').fadeIn();
|
||||
$('.box_waiting').fadeIn();
|
||||
window.location = "{/literal}{$base_dir_ssl}{literal}modules/ant_support_form/support.php?id_contact="+$("option:selected", $('#id_contact')).val();
|
||||
}
|
||||
$('#id_contact').change(function() {
|
||||
if($("option:selected", $('#id_contact')).val() == 9 || $("option:selected", $('#id_contact')).val() == 1){
|
||||
$('.overlay_bbb').fadeIn();
|
||||
$('.box_waiting').fadeIn();
|
||||
window.location = "{/literal}{$base_dir_ssl}{literal}modules/ant_support_form/support.php?id_contact="+$("option:selected", $('#id_contact')).val();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<script type="text/javascript">{literal}
|
||||
<!--
|
||||
jQuery(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user