}
}
- 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++) {
'no_bold' => $opt{'no_bold'},
'alt_format' => $opt{'alt_format'},
'enable_coords'=> 1,
+ 'enable_censustract' => 1,
)
%>
<SCRIPT TYPE="text/javascript">