Skip to content

Commit

Permalink
Fix #1065: OnDemandList: Avoid error with noDataNode for stale request
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth G. Franqueiro committed Jan 12, 2015
1 parent 748c8a4 commit c9e2713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OnDemandList.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ return declare([List, _StoreMixin], {
self._total = total;
}
// now we need to adjust the height and total count based on the first result set
if(total === 0){
if(total === 0 && parentNode){
if(noDataNode){
put(noDataNode, "!");
delete self.noDataNode;
Expand Down

0 comments on commit c9e2713

Please sign in to comment.