--- dao/DaoAdresseVedligehold/src/main/webapp/index.html 2016/02/05 10:11:06 2926
+++ dao/DaoAdresseVedligehold/src/main/webapp/index.html 2016/02/05 11:01:48 2927
@@ -155,9 +155,11 @@
alert("Du skal vælge distributør");
return;
}
+ var type = $("#afstand_type").val();
+ var url = "rest/commands/distancecalculation/" + dist + "/" + type;
- $.get("rest/commands/distancecalculation/" + dist, function() {
+ $.get(url, function() {
loadTasks(); //Force reload of tasks immediately
} );
@@ -243,7 +245,15 @@
+
+
+
+
+