summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/menu.html2
-rw-r--r--httemplate/elements/standardize_locations.js16
2 files changed, 9 insertions, 9 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index c4ea9cd7c..72b586e19 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -503,7 +503,7 @@ tie my %tools_importing, 'Tie::IxHash',
'Phone numbers (DIDs)' => [ $fsurl.'misc/phone_avail-import.html', '' ],
'Call Detail Records (CDRs)' => [ $fsurl.'misc/cdr-import.html', '' ],
;
-if ( $conf->config('tax_data_vendor') eq 'cch' ) {
+if ( $conf->config('tax_data_vendor') ) {
if ( $conf->exists('taxdatadirectdownload') ) {
$tools_importing{'Tax rates from vendor site'} =
[ $fsurl.'misc/tax-fetch_and_import.cgi', '' ];
diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js
index ecccd90f1..dd6837099 100644
--- a/httemplate/elements/standardize_locations.js
+++ b/httemplate/elements/standardize_locations.js
@@ -207,8 +207,8 @@ function post_standardization() {
prefix = 'bill_';
}
- if ( new String(cf.elements[prefix + 'zip'].value).length < 10 )
- {
+// if ( new String(cf.elements[prefix + 'zip'].value).length < 10 )
+// {
var country_el = cf.elements[prefix + 'country'];
var country = country_el.options[ country_el.selectedIndex ].value;
@@ -238,12 +238,12 @@ function post_standardization() {
}
- } else {
-
- cf.elements[prefix + 'geocode'].value = '';
- <% $post_geocode %>;
-
- }
+// } else {
+//
+// cf.elements[prefix + 'geocode'].value = '';
+// <% $post_geocode %>;
+//
+// }
% } else {