Changes between Initial Version and Version 1 of Ticket #5419


Ignore:
Timestamp:
Dec 18, 2007, 7:24:59 PM (12 years ago)
Author:
Adam Peller
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5419

    • Property Owner changed from Tom Trenka to Eugene Lazutkin
  • Ticket #5419 – Description

    initial v1  
    11_getLabel in /dojox/charting/axis2d/Default.js fails to check for a negative index when attempting to find a label:
    22
     3{{{
    34290                                     --lo;
    45291                                     if(lo < l.length && eq(l[lo].value, number)){
     
    78
    89291                                     if(lo>=0 && lo < l.length && eq(l[lo].value, number)){
     10}}}
    911
    1012works.  It may not be necessary to test for lo<l.length.