diff --git a/model/model.js b/model/model.js index d193445d..f6a29bf4 100644 --- a/model/model.js +++ b/model/model.js @@ -1007,7 +1007,7 @@ steal('jquery/class', 'jquery/lang/string', function() { // get the object's data instancesRawData.data), // the number of items - length = raw.length, + length = raw ? raw.length : null, i = 0; //@steal-remove-start