From 227a4daa6bec478fcf318bee21e1960da564c57a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 28 Feb 2020 16:22:03 +0800 Subject: [PATCH] roojs-ui.js roojs-ui-debug.js roojs-all.js roojs-debug.js --- roojs-all.js | 2 +- roojs-debug.js | 13 ++++++++++--- roojs-ui-debug.js | 13 ++++++++++--- roojs-ui.js | 2 +- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/roojs-all.js b/roojs-all.js index 19f94c487f..345821bf72 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();},recordToStores: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.recordToStores(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.findRecordInStore(this.store,this.hiddenName,this.getValue(),A); -}}); +for(var i=0;i