X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui.js;fp=roojs-ui.js;h=0f10cd4336ce8a1961c574fa5c413b77ebe98bbd;hp=154a7994cd2473c41ea66c8eacaa5c30deb97e74;hb=d25b2a59660233bd4af2b7c68dcdb508dd3b7727;hpb=2fc5701bd77a491ff8bbb66fccd7391968e01937 diff --git a/roojs-ui.js b/roojs-ui.js index 154a7994cd..0f10cd4336 100644 --- a/roojs-ui.js +++ b/roojs-ui.js @@ -906,7 +906,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