Skip to content
Snippets Groups Projects
Commit 279f3ace authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Ein Wechsel des Fahrzeugs funktioniert nun korrekt

parent dcb103d9
No related branches found
No related tags found
No related merge requests found
......@@ -93156,6 +93156,7 @@ function addResults() {
$(vehicleChooser).find("input[value="+vehicle+"]").prop("checked", true);
// Add the changed Listener to the vehicle Chooser:
$(vehicleChooser).find("input[type=radio]").change(function(){
vehicle = $(vehicleChooser).find("input[type=radio]:checked").val();
var url = '/route/start/'+vehicle+'/';
$.each(route["waypoints"], function(index, value){
url += value["location"].toString() + ";";
This diff is collapsed.
......@@ -5,5 +5,5 @@
"js/findRoute.js": "js/findRoute-956b1ebb78.js",
"js/iframeSearch.js": "js/iframeSearch-ae8ca585d6.js",
"js/mapSearch.js": "js/mapSearch-b1daa5c568.js",
"js/routing.js": "js/routing-c4b66a9238.js"
"js/routing.js": "js/routing-eec69e6a9e.js"
}
\ No newline at end of file
......@@ -93156,6 +93156,7 @@ function addResults() {
$(vehicleChooser).find("input[value="+vehicle+"]").prop("checked", true);
// Add the changed Listener to the vehicle Chooser:
$(vehicleChooser).find("input[type=radio]").change(function(){
vehicle = $(vehicleChooser).find("input[type=radio]:checked").val();
var url = '/route/start/'+vehicle+'/';
$.each(route["waypoints"], function(index, value){
url += value["location"].toString() + ";";
This diff is collapsed.
......@@ -42,6 +42,7 @@ function addResults() {
$(vehicleChooser).find("input[value="+vehicle+"]").prop("checked", true);
// Add the changed Listener to the vehicle Chooser:
$(vehicleChooser).find("input[type=radio]").change(function(){
vehicle = $(vehicleChooser).find("input[type=radio]:checked").val();
var url = '/route/start/'+vehicle+'/';
$.each(route["waypoints"], function(index, value){
url += value["location"].toString() + ";";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment