X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-all.js;fp=roojs-all.js;h=5a28df6900597d740d779651b0c1ebc19a257717;hp=24d93458a39f8aeb437da0120d7b9684df44d7be;hb=d25b2a59660233bd4af2b7c68dcdb508dd3b7727;hpb=2fc5701bd77a491ff8bbb66fccd7391968e01937 diff --git a/roojs-all.js b/roojs-all.js index 24d93458a3..5a28df6900 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -1776,7 +1776,7 @@ this.setFromData(E.data);var lw=Math.floor(((this.listWidth*this.maxColumns||Mat this.views[C.list+1].getEl().setHeight(this.innerLists[0].getHeight());this.views[C.list+1].getEl().setStyle({display:dl?'block':'none'});this.innerLists[C.list+1].setHeight(this.innerLists[0].getHeight());this.list.setWidth(lw*(C.list+(dl?2:1)));if(this.isLoading){} },onDoubleClick:function(){this.collapse();},recordToStack:function(A,B,C,D){var E=new Roo.data.SimpleStore({reader:this.store.reader,data:[]});var F=this;var G=false;var H=false;if(A.getCount()<1){return false;}A.each(function(r){if(r.data[B]==C){G=r;H=r; return false;}if(r.data.cn&&r.data.cn.length){E.loadDataFromChildren(r);var I=F.recordToStack(E,B,C,D);if(I!==false){G=I;H=r;return false;}}return true;});if(G==false){return false}D.unshift(H);return G;},selectActive:function(){var A=[];this.recordToStack(this.store,this.valueField,this.getValue(),A); -for(var i=0;i