X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fedit%2Fcust_location.cgi;h=93311c5c3fec1b962f78c9b798b8c850e103a265;hb=1a6932d522b102c5f1746e2d1d4a7e78bcb3c267;hp=38816db7acdce7b246aeb4a5f048cd549b0834ba;hpb=cc29c2d703d4588d11d3d0ff5a4b08c803d72688;p=freeside.git diff --git a/httemplate/edit/cust_location.cgi b/httemplate/edit/cust_location.cgi index 38816db7a..93311c5c3 100755 --- a/httemplate/edit/cust_location.cgi +++ b/httemplate/edit/cust_location.cgi @@ -17,10 +17,21 @@ 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, &> +