X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fcensus-tools.git;a=blobdiff_plain;f=www%2Fmaps%2Fmaps%2Ftemplates%2Fjavascript%2Frouting.mako;h=49e10b74d21274cbd867f153e7560053b0401272;hp=3d28f3b4978ce66f48abe852497038437db3bcdd;hb=01fd7fbb997f6e7017c92005702f4b80c9dbafb1;hpb=d797c850a8493c0027b1e8b8dbc4d3e78840d4d9 diff --git a/www/maps/maps/templates/javascript/routing.mako b/www/maps/maps/templates/javascript/routing.mako index 3d28f3b..49e10b7 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) + mu = new MapUtils(); + mu.post_data('/directions/json_to_kml', json_string); } else { // Continue the array.