Commit dd83ce02 authored by Jan Dillenberger's avatar Jan Dillenberger

Uncomment line - fix last commit

parent 0ac1dacb
Pipeline #22073 failed with stage
......@@ -95,13 +95,13 @@ function hookChart(elementClass, drawGroupChart, options = {}) {
htmlElement.innerHTML = '<div class="chartloader" ><div class="lds-ring"><div></div><div></div><div></div><div></div></div></div>'
url = Fetcher.buildURL(select(htmlElement).attr('evaluation_id'))
Fetcher.getJSON(url).then(response => {
/*htmlElement.innerHTML = ''
htmlElement.innerHTML = ''
if ( !("hide_buttons" in options && options.hide_buttons) ) {
buttonBox = drawButtons(htmlElement, response, drawGroupChart, options)
buttonBox.firstChild.click()
} else {
makeChart(htmlElement, response, response.subScales[0].groupResults[0].group, drawGroupChart)
}*/
}
}, error => console.log(error))
})
......
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