Problem Description:
After the model file is uploaded, there's no analysis result shown on the page.
Besides, the drop-down list becomes un-clickable.
Analysis
scripts.js: 364: console.log(response);
the response is just the html of home page, nothing else.
scripts.js 365: $("#estimation-result-panel-body").html(response);
the html is added.
scripts.js 366: var estimationModel = $(response).data("estimation-model");
since the response is just some html, estimationModel is not assigned to anything
Problem Description: After the model file is uploaded, there's no analysis result shown on the page.
Besides, the drop-down list becomes un-clickable.
Analysis scripts.js: 364:
console.log(response);
the response is just the html of home page, nothing else.scripts.js 365:
$("#estimation-result-panel-body").html(response);
the html is added.scripts.js 366:
var estimationModel = $(response).data("estimation-model");
since the response is just some html, estimationModel is not assigned to anythingscripts.js 368 'console.log('#'+estimationModel+'-estimation-results-charts');'
undefined-estimation-results-charts is printed.
which means estimationModel is undefined
So basically, no estimationModel is returned.