Skip to content

Commit

Permalink
Fix bug where row is undefined during renderQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlandolt committed Jun 6, 2012
1 parent eaa3084 commit acf4d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Selection.js
Expand Up @@ -295,7 +295,7 @@ return declare([List], {
i, row, selected;
for(i = 0; i < rows.length; i++){
row = grid.row(rows[i]);
selected = row.id in selection ? selection[row.id] : grid.allSelected;
selected = row && row.id in selection ? selection[row.id] : grid.allSelected;
if(selected){
grid.select(row, null, selected);
}
Expand Down

0 comments on commit acf4d29

Please sign in to comment.