Skip to content

Commit e79c4cc

Browse files
authored
Merge pull request #9 from larskoeie/master
Rewrite for loop in EvoUI.inputCheckboxes()
2 parents dafc207 + 74cd74e commit e79c4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/structured-filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ var EvoUI={
636636
},
637637
inputCheckboxes:function(fLOV){
638638
var h='';
639-
for(var i in fLOV){
639+
for(var i=0;i<fLOV.length;i++){
640640
var lv=fLOV[i];
641641
h+='<input type="checkbox" id="'+lv.id+'" value="'+lv.id+'"/>'+
642642
'<label for="'+lv.id+'">'+lv.label+'</label> ';

0 commit comments

Comments
 (0)