Commit dd80cd11 authored by Martin Peres's avatar Martin Peres Committed by Martin Peres

latency.js: disable the test select while loading results

parent 6bebc3a4
......@@ -119,6 +119,9 @@ function pw_test_latency_fetch(project, tests_target, plot_target, weeks, defaul
pw_plot_target = plot_target;
set_url_parameter('project', pw_project_cur);
// Prevent setting the tests while loading the results
document.getElementById(tests_target).disabled = true;
let date = new Date();
date.setHours(0, 0, 0, 0)
let since = new Date(date.getTime() - (7 * 24 * 60 * 60 * 1000));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment