<TD>
%#; padding-right:2px; vertical-align:top">
<FONT CLASS="fsinnerbox-title"><% mt('Billing address') |h %></FONT>
+ <FIELDSET ID="bill_location" CLASS="location">
<TABLE CLASS="fsinnerbox" WIDTH="100%">
<& cust_main/before_bill_location.html, $cust_main &>
<& /elements/location.html,
&>
<& cust_main/after_bill_location.html, $cust_main &>
</TABLE>
+ </FIELDSET>
</TD>
</TR>
<TR><TD STYLE="height:14px"></TD></TR>
VALUE="Y"
<% $has_ship_address ? '' : 'CHECKED' %>
><% mt('same as billing address') |h %>
- <DIV ID="div_ship_location">
+ <FIELDSET ID="ship_location" CLASS="location">
<TABLE WIDTH="100%" CLASS="fsinnerbox">
<& cust_main/before_ship_location.html, $cust_main &>
<& /elements/location.html,
</TR>
% }
</TABLE>
- </DIV>
+ </FIELDSET>
</TD>
</TR></TABLE>
function samechanged(what) {
if ( what.checked ) {
- $('#div_ship_location').slideUp();
+ $('#ship_location').slideUp();
} else {
- $('#div_ship_location').slideDown();
+ $('#ship_location').slideDown();
}
}
% if ( ! $has_ship_address ) {
- $('#div_ship_location').hide();
+ $('#ship_location').hide();
% }
+$().ready( function() {
+ window.bill_location = new Location($('fieldset#bill_location'));
+});
+
</SCRIPT>
<& cust_main/contacts_new.html, 'cust_main'=>$cust_main, &>