X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-bootstrap-debug.js;fp=roojs-bootstrap-debug.js;h=d0bf0900308d1fc63bfb633970926df566272915;hb=a9c6689b8f08a9e7288ba4df9bc2821b77763806;hp=1afc748c6639c0254074015912bf2f36475e0c0b;hpb=6a66c86a8ba7543f771d16d33de71d1d55f88899;p=roojs1 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 1afc748c66..d0bf090030 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -13110,12 +13110,12 @@ Roo.extend(Roo.data.ArrayReader, Roo.data.JsonReader, { }, /** * using 'cn' the nested child reader read the child array into it's child stores. - * + * @param {Object} rec The record with a 'children array */ loadDataFromChildren: function(rec) { // expect rec just to be an array.. eg [a,b,c, [...] << cn ] - return this.loadData(rec.data.cn); + return this.loadData(typeof(rec.data.cn) == 'undefined' ? '' : rec.data.cn); }