Commit 63030057 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikael Salson

model_loader.js fix run URL param

The variables used for loading a run from a URL were outdated, rendring
the feature non-functionnal.
parent c3fd357a
Pipeline #18876 canceled with stages
in 260 minutes and 45 seconds
...@@ -67,7 +67,7 @@ Model_loader.prototype = { ...@@ -67,7 +67,7 @@ Model_loader.prototype = {
else if (typeof params.run_id !== "undefined" && typeof params.config !== "undefined"){ else if (typeof params.run_id !== "undefined" && typeof params.config !== "undefined"){
//wait 1sec to check ssl //wait 1sec to check ssl
setTimeout(function () { db.load_data( {"run" : run , "config" : dbconfig } , "") }, 1000); setTimeout(function () { db.load_data( {"run" : params.run_id , "config" : params.config } , "") }, 1000);
} }
else if (typeof params.custom !== "undefined" && params.custom.length>0){ else if (typeof params.custom !== "undefined" && params.custom.length>0){
......
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