X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=www%2Fmaps%2Fmaps%2Ftemplates%2Fjavascript%2Frouting.mako;h=e399959a5af1cfe738257e645ad78100291e7e6e;hb=dfecbff32580677363ff4a5fbedce116f32bf8e7;hp=3d28f3b4978ce66f48abe852497038437db3bcdd;hpb=d797c850a8493c0027b1e8b8dbc4d3e78840d4d9;p=dead%2Fcensus-tools.git diff --git a/www/maps/maps/templates/javascript/routing.mako b/www/maps/maps/templates/javascript/routing.mako index 3d28f3b..e399959 100644 --- a/www/maps/maps/templates/javascript/routing.mako +++ b/www/maps/maps/templates/javascript/routing.mako @@ -49,7 +49,8 @@ function routing_callback(result, status) { if (completed_requests == total_requests) { // Close the array, and do something with the result. json_string += ']'; - 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.