| CODENOTIFIER | HelpYou are not signed inSign in |
Project: dojo
Revision: 15134
Author: dante
Date: 04 Sep 2008 21:31:16
Diff at Trac: http://trac.dojotoolkit.org/changeset/15134
Changes: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.
| ... | ...@@ -791,7 +791,7 @@ | |
| 791 | 791 | if(dataObject._maxOptions && dataObject._maxOptions != -1){ |
| 792 | 792 | if((dataObject.start + dataObject.count) < dataObject._maxOptions){ |
| 793 | 793 | displayMore = true; |
| 794 | }else if((dataObject.start + dataObject.length) > (dataObject._maxOptions - 1)){ | |
| 794 | }else if((dataObject.start + dataObject.count) > (dataObject._maxOptions - 1)){ | |
| 795 | 795 | //Weird return from a datastore, where a start + count > maxOptions |
| 796 | 796 | //implies maxOptions isn't really valid and we have to go into faking it. |
| 797 | 797 | //And more or less assume more if count == results.length |