diff --git a/modules/ant_support_form/support.tpl b/modules/ant_support_form/support.tpl index 8d5f7714..96130b7d 100644 --- a/modules/ant_support_form/support.tpl +++ b/modules/ant_support_form/support.tpl @@ -21,6 +21,15 @@

{l s='For questions about an order or for more information about our products' mod='ant_support_form'}.

+

+ + +

{if isset($customerThread.email)} @@ -186,6 +195,13 @@ } }); }); + $('#select_contact').change(function() { + if($("option:selected", $('#select_contact')).val() == 9 || $("option:selected", $('#select_contact')).val() == 1){ + window.location = "{/literal}{$base_dir_ssl}{literal}modules/ant_support_form/support.php?id_contact="+$("option:selected", $('#select_contact')).val(); + }else{ + window.location = "{/literal}{$base_dir_ssl}{literal}contact-form.php?id_contact="+$("option:selected", $('#select_contact')).val(); + } + }); }); {/literal} diff --git a/themes/site_mobile/contact-form.tpl b/themes/site_mobile/contact-form.tpl index cd938a84..2440d6bf 100755 --- a/themes/site_mobile/contact-form.tpl +++ b/themes/site_mobile/contact-form.tpl @@ -125,6 +125,38 @@

+ + + +{literal} + +{/literal} +