X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_location.cgi;h=93311c5c3fec1b962f78c9b798b8c850e103a265;hb=1a320aa8f679a355bd3678ccceb5d7ecf7b0aeba;hp=93ce32382ffd13ed895d4f3c6c0d4d7507cabe31;hpb=a6dd5bc6ba6c655b1707a016db4e97e269b718e5;p=freeside.git
diff --git a/httemplate/edit/cust_location.cgi b/httemplate/edit/cust_location.cgi
index 93ce32382..93311c5c3 100755
--- a/httemplate/edit/cust_location.cgi
+++ b/httemplate/edit/cust_location.cgi
@@ -17,20 +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,
&>
+