Changeset 29

Show
Ignore:
Timestamp:
10/07/08 18:42:13 (4 years ago)
Author:
tsuckowhomberg
google:author:
tsuckowhomberg
Message:

while processing it, which could lead to erroneous behavior

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r28 r29  
    11 
     2 - fixed: (RowSelectionModel.js) method "isSelected()" would lose it's original argument 
     3while processing it, which could lead to erroneous behavior 
    24 - fixed: (GridView.js) missing call to "isBuffering = true" in "updateLiveRows()" 
    35made the component to ignore a previously set queue and request new data immediately 
  • trunk/src/RowSelectionModel.js

    r26 r29  
    298298    { 
    299299        if (typeof index == "number") { 
    300             index = this.grid.store.getAt(index); 
     300            var orgInd = index; 
     301            index = this.grid.store.getAt(orgInd); 
    301302            if (!index) { 
    302                 var ind = this.getPendingSelections().indexOf(index); 
     303                var ind = this.getPendingSelections().indexOf(orgInd); 
    303304                if (ind != -1) { 
    304305                    return true; 
    305306                } 
     307 
     308                return false; 
    306309            } 
    307310        }