Changeset 13861 for branches/1.1

Show
Ignore:
Timestamp:
06/02/08 13:15:05 (6 months ago)
Author:
jaredj
Message:

Minor fix to the model. fixes #6868 \!strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1/dojox/grid/_data/model.js

    r13590 r13861  
    603603                //Handle identity and nonidentity capable stores. 
    604604                if(this._canIdentify && !isNotItem){ 
    605                         rowId = this._rowIdentities[this.store.getIdentity(item)].rowId; 
     605                        //Make sure the row in question is actually in our data view.  If it isn't, 
     606                        //should just return null. 
     607                        var _rowId = this._rowIdentities[this.store.getIdentity(item)]; 
     608                        if(_rowId){ 
     609                                rowId = _rowId.rowId; 
     610                        } 
    606611                }else{ 
    607612                        //Not efficient, but without identity support,