Skip to content

Commit 74cd74e

Browse files
committed
This line produced 30-40 extra checkboxes on my Chrome, because the array has extra properties or methods (each, push etc.).
This commit solved it for me. Is that a local thing here that messes things up ?
1 parent dafc207 commit 74cd74e

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)