From: jeff Date: Sun, 16 Aug 2009 22:45:26 +0000 (+0000) Subject: include a census zipcode link and other minor improvements X-Git-Tag: root_of_svc_elec_features~915 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=05820654d27caed7679d9e475d6763acaff38806 include a census zipcode link and other minor improvements --- diff --git a/httemplate/edit/cust_main/bottomfixup.js b/httemplate/edit/cust_main/bottomfixup.js index 06e8b13b6..61d7220c0 100644 --- a/httemplate/edit/cust_main/bottomfixup.js +++ b/httemplate/edit/cust_main/bottomfixup.js @@ -311,26 +311,33 @@ function update_censustract(arg) { if (error || cf.elements['censustract'].value != newcensus) { // popup an entry dialog + if (error) { newcensus = error; } + newcensus.replace(/.*ndefined.*/, 'Not found'); + var choose_censustract = '

Confirm censustract
' + 'Map service module location

' + + '" target="_blank">Map service module location
' + + 'Map zip code center

' + ''; choose_censustract = choose_censustract + - '' + - '' + + '' + + '' + '' + ''; choose_censustract = choose_censustract + - '' + '
Entered census tractCalculated census tract
Entered census tractCalculated census tract
' + cf.elements['censustract'].value + '' + newcensus + '
  
' + + '
' + '' + - '' + + '' + '' + '
' +