##// END OF EJS Templates
fixed templating issue with graph, and improved toggle of commiters
marcink -
r422:fc361306 default
parent child Browse files
Show More
@@ -3438,12 +3438,14 b' div#legend_container table,div#legend_ch'
3438 3438
3439 3439 div#legend_container table td{
3440 3440 border: none !important;
3441 padding: 2px !important;
3441 padding: 0px !important;
3442 height: 20px !important;
3442 3443 }
3443 3444
3444 3445 div#legend_choices table td{
3445 3446 border: none !important;
3446 3447 padding: 0px !important;
3448 height: 20px !important;
3447 3449 }
3448 3450
3449 3451 div#legend_choices{
@@ -154,12 +154,17 b' E.onDOMReady(function(e){'
154 154
155 155 var inputs = choiceContainer.getElementsByTagName("input");
156 156 for(var i=0; i<inputs.length; i++) {
157 if(!inputs[i].checked)
158 continue;
159
160 157 var key = inputs[i].name;
161 if (key && datasets[key])
162 data.push(datasets[key]);
158 if (key && datasets[key]){
159 if(!inputs[i].checked){
160 data.push({label:key,data:[[0,1],]});
161 }
162 else{
163 data.push(datasets[key]);
164 }
165
166 }
167
163 168 };
164 169
165 170 if (data.length > 0){
General Comments 0
You need to be logged in to leave comments. Login now