Changeset 13510
- Timestamp:
- 04/30/08 09:40:58 (7 months ago)
- Files:
-
- 1 modified
-
dojox/trunk/data/SnapLogicStore.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojox/trunk/data/SnapLogicStore.js
r13030 r13510 64 64 this._assertIsItem(item); 65 65 this._assertIsAttribute(attribute); 66 i = dojo.indexOf(item.attributes, attribute);66 var i = dojo.indexOf(item.attributes, attribute); 67 67 if(i !== -1){ 68 68 return item.values[i]; … … 125 125 this._assertIsItem(item); 126 126 this._assertIsAttribute(attribute); 127 i = dojo.indexOf(item.attributes, attribute);127 var i = dojo.indexOf(item.attributes, attribute); 128 128 if(i !== -1){ 129 129 return [item.values[i]]; // Array … … 163 163 164 164 if(request.onItem || request.onComplete){ 165 response = request._dataResponse;165 var response = request._dataResponse; 166 166 167 167 if (!response.length){ … … 173 173 //If this was not a record count request, the first element returned will contain 174 174 //the field names. 175 field_names = response.shift();175 var field_names = response.shift(); 176 176 177 177 var items = [];