|
|
|
@@ -116,7 +116,6 @@ function listing() { |
|
|
|
|
|
|
|
function onChangeDinAsset() { |
|
|
|
$("#asset").on("change", function(e) { |
|
|
|
console.log($("#asset").val()); |
|
|
|
$.ajax({ |
|
|
|
url: "/get-benchmark-data", |
|
|
|
method: "get", |
|
|
|
@@ -134,8 +133,15 @@ function onChangeDinAsset() { |
|
|
|
; |
|
|
|
|
|
|
|
for (let i in data.benchmarkValues) { |
|
|
|
noBenchmarkData = true; |
|
|
|
$('#bandwidth').append('<option value="' + i + '">' + data.benchmarkValues[i] + '</option>'); |
|
|
|
} |
|
|
|
|
|
|
|
if (Object.keys(data.benchmarkValues).length < 1) { |
|
|
|
$('#no-benchmark-data').show(); |
|
|
|
} else { |
|
|
|
$('#no-benchmark-data').hide(); |
|
|
|
} |
|
|
|
}, |
|
|
|
error: function (xhr, msg, three) { |
|
|
|
messageBox(false, "Fehler bei der Anfrage."); |
|
|
|
|