[freeside-commits] freeside/httemplate/edit/cust_main bottomfixup.js, 1.12.2.2, 1.12.2.3
Mark Wells
mark at wavetail.420.am
Fri Dec 30 14:11:54 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv14233/httemplate/edit/cust_main
Modified Files:
Tag: FREESIDE_2_3_BRANCH
bottomfixup.js
Log Message:
track/update census codes by year, #15381
Index: bottomfixup.js
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/bottomfixup.js,v
retrieving revision 1.12.2.2
retrieving revision 1.12.2.3
diff -u -w -d -r1.12.2.2 -r1.12.2.3
--- bottomfixup.js 28 Dec 2011 23:33:33 -0000 1.12.2.2
+++ bottomfixup.js 30 Dec 2011 22:11:52 -0000 1.12.2.3
@@ -38,7 +38,7 @@
var state_el = cf.elements['ship_state'];
var census_data = new Array(
'year', <% $conf->config('census_year') || '2011' %>,
- 'address', cf.elements['ship_address1'].value,
+ 'address1', cf.elements['ship_address1'].value,
'city', cf.elements['ship_city'].value,
'state', state_el.options[ state_el.selectedIndex ].value,
'zip', cf.elements['ship_zip'].value
@@ -62,16 +62,17 @@
var cf = document.CustomerForm;
- var msacode = argsHash['msacode'];
+/* var msacode = argsHash['msacode'];
var statecode = argsHash['statecode'];
var countycode = argsHash['countycode'];
var tractcode = argsHash['tractcode'];
- var error = argsHash['error'];
var newcensus =
new String(statecode) +
new String(countycode) +
- new String(tractcode).replace(/\s$/, ''); // JSON 1 workaround
+ new String(tractcode).replace(/\s$/, ''); // JSON 1 workaround */
+ var error = argsHash['error'];
+ var newcensus = argsHash['censustract'];
set_censustract = function () {
More information about the freeside-commits
mailing list