X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_location.cgi;h=93311c5c3fec1b962f78c9b798b8c850e103a265;hp=774b66730c8493a4bfce527853ff6533cb24fd14;hb=3f2a7b01b59902faed5767d81e2959e131bdbdfd;hpb=acbc7e3c55a3d5a0e9999b0630653ad510d4b19a diff --git a/httemplate/edit/cust_location.cgi b/httemplate/edit/cust_location.cgi index 774b66730..93311c5c3 100755 --- a/httemplate/edit/cust_location.cgi +++ b/httemplate/edit/cust_location.cgi @@ -17,21 +17,28 @@ ACTION="<% $p %>edit/process/cust_location.cgi" METHOD=POST> &> <& /elements/standardize_locations.html, 'form' => 'EditLocationForm', - 'callback' => 'document.EditLocationForm.submit();', + 'callback' => $conf->exists('tax_district_method') + ? 'wa_state_tax_district()' + : 'submit_continue()', 'with_census' => 1, 'with_census_functions' => 1, &> +