From 1ada716c6a17daab395c6b7872174757e05ff761 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 20 Feb 2012 17:00:50 +0100 Subject: [PATCH] =?utf8?q?Ansprechpartner=20l=C3=B6schen=20im=20contact=20?= =?utf8?q?partial=20rendern.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/ct/_shipto.html | 7 ++++++- templates/webpages/ct/form_header.html | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/webpages/ct/_shipto.html b/templates/webpages/ct/_shipto.html index c8db22df3..00dfd962c 100644 --- a/templates/webpages/ct/_shipto.html +++ b/templates/webpages/ct/_shipto.html @@ -4,7 +4,7 @@ [% 'Shipping Address' | $T8 %] [% L.select_tag('shipto_id', L.options_for_select(SHIPTO, default => shipto_id, value => 'shipto_id', title_sub => \shipto_label, with_empty => 1), - onchange => "\$('#shipto_table').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %] + onchange => "\$('#shipto').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %] @@ -59,3 +59,8 @@ + +[%- IF shipto_id %] + +
+[%- END %] diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 501ebaae1..814ccb0e3 100644 --- a/templates/webpages/ct/form_header.html +++ b/templates/webpages/ct/form_header.html @@ -299,9 +299,6 @@
[% INCLUDE 'ct/_shipto.html' %] - - -
-- 2.20.1