Changeset 15134

Show
Ignore:
Timestamp:
09/04/08 18:31:16 (3 months ago)
Author:
dante
Message:

fixes typeo referencing an undefined dataStore object. All other surrounding references treat it as an object with a .count variable, which inspecting shows it to have.
fixes #7595 - thanks stekell2 for tracking this down.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/form/ComboBox.js

    r14836 r15134  
    792792                                if((dataObject.start + dataObject.count) < dataObject._maxOptions){ 
    793793                                        displayMore = true; 
    794                                 }else if((dataObject.start + dataObject.length) > (dataObject._maxOptions - 1)){ 
     794                                }else if((dataObject.start + dataObject.count) > (dataObject._maxOptions - 1)){ 
    795795                                        //Weird return from a datastore, where a start + count > maxOptions 
    796796                                        //implies maxOptions isn't really valid and we have to go into faking it.