From 0976358fdf5073ee053fe775919010bd5f517575 Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Mon, 14 May 2012 07:12:29 +0100 Subject: [PATCH] added comment --- WebContent/routing/OSRM.Routing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebContent/routing/OSRM.Routing.js b/WebContent/routing/OSRM.Routing.js index e6f29700f..a3318922c 100644 --- a/WebContent/routing/OSRM.Routing.js +++ b/WebContent/routing/OSRM.Routing.js @@ -57,7 +57,7 @@ showRoute: function(response) { if(!response) return; - OSRM.G.response = response; + OSRM.G.response = response; // needed for printing & history routes! OSRM.G.via_points = response.via_points.slice(0); if(response.status == 207) { OSRM.RoutingGeometry.showNA(); @@ -78,7 +78,7 @@ showRoute_Dragging: function(response) { if( !OSRM.G.dragging ) // prevent simple routing when not dragging (required as there can be drag events after a dragstop event!) return; - OSRM.G.response = response; + OSRM.G.response = response; // needed for history routes! if( response.status == 207) { OSRM.RoutingGeometry.showNA(); OSRM.RoutingDescription.showNA( OSRM.loc("YOUR_ROUTE_IS_BEING_COMPUTED") );