roojs-ui.js
[roojs1] / roojs-ui-debug.js
index 848de63..bb1517d 100644 (file)
@@ -20560,6 +20560,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         store.each(function(r){
             if(r.data[prop] == value){
                 record = r;
+               srec = r;
                 return false;
             }
             if (r.data.cn && r.data.cn.length) {
@@ -20591,9 +20592,9 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
     {
         
        var stack = [];
-       var rec =  this.findRecordInStore(this.store, this.hiddenName, this.getValue());
-       
+       this.findRecordInStore(this.store, this.hiddenName, this.getValue(), stack);
        
+    }