X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=www%2Fmaps%2Fmaps%2Ftemplates%2Fjavascript%2Frouting.mako;h=e399959a5af1cfe738257e645ad78100291e7e6e;hb=dfecbff32580677363ff4a5fbedce116f32bf8e7;hp=49e10b74d21274cbd867f153e7560053b0401272;hpb=01fd7fbb997f6e7017c92005702f4b80c9dbafb1;p=dead%2Fcensus-tools.git diff --git a/www/maps/maps/templates/javascript/routing.mako b/www/maps/maps/templates/javascript/routing.mako index 49e10b7..e399959 100644 --- a/www/maps/maps/templates/javascript/routing.mako +++ b/www/maps/maps/templates/javascript/routing.mako @@ -49,8 +49,8 @@ function routing_callback(result, status) { if (completed_requests == total_requests) { // Close the array, and do something with the result. json_string += ']'; - mu = new MapUtils(); - mu.post_data('/directions/json_to_kml', json_string); + var F = new Form(); + F.post_data('/directions/json_to_kml', json_string); } else { // Continue the array.