X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=e1fa825c1c3772d4d55a0e0132c492772931ffc1;hb=51a648bdf566a6be176b1d7f98a89a2e400481bf;hp=4c17249bda53964739c70fc8df616ae57f5a20b1;hpb=a59da6000c99b8fa3f391122900c44735593f544;p=freeside.git diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index 4c17249bd..e1fa825c1 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -153,7 +153,7 @@ Example: } } - var location_fields = <% to_json(\@location_fields) %>; + var location_fields = <% encode_json(\@location_fields) %>; function update_location( string ) { var hash = JSON.parse(string); for(var i = 0; i < location_fields.length; i++) { @@ -209,6 +209,7 @@ Example: 'no_bold' => $opt{'no_bold'}, 'alt_format' => $opt{'alt_format'}, 'enable_coords'=> 1, + 'enable_censustract' => 1, ) %>