Sorted out refreshing of graphics for inverted triangles and also for bar graphs if no data was available
This commit is contained in:
@@ -44,7 +44,7 @@ function insertQualifiers(){
|
||||
select.appendChild(option);
|
||||
});
|
||||
|
||||
document.querySelector('label[for="level"]').textContent = "New question 2";
|
||||
document.querySelector('label[for="level"]').textContent = parsed["2"][0];
|
||||
|
||||
// .shift(); //
|
||||
parsed["2"][0] = "Any";
|
||||
@@ -60,7 +60,7 @@ function insertQualifiers(){
|
||||
select.appendChild(option);
|
||||
});
|
||||
|
||||
document.querySelector('label[for="gov"]').textContent = "New question 3";
|
||||
document.querySelector('label[for="gov"]').textContent = parsed["3"][0];
|
||||
parsed["3"][0] = "Any";
|
||||
select = document.getElementById('gov');
|
||||
optionCount = select.options.length;
|
||||
@@ -74,7 +74,8 @@ function insertQualifiers(){
|
||||
select.appendChild(option);
|
||||
});
|
||||
|
||||
|
||||
//Disable the surveyId input
|
||||
document.getElementById("surveyId").disabled = true;
|
||||
|
||||
/*document.getElementById("record_no").textContent = total;
|
||||
if (total < 9){
|
||||
|
||||
Reference in New Issue
Block a user