X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;fp=roojs-ui-debug.js;h=d10424f138a860858803618a768cd19f5882423e;hp=e7c8ae328e3412cbffab4c438337b074731bb01d;hb=227a4daa6bec478fcf318bee21e1960da564c57a;hpb=b0510076cb6aad3c289efcad0e84b44de0c6c928 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index e7c8ae328e..d10424f138 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -20517,9 +20517,10 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { this.setFromData(rec.data); - var lw = Math.floor( - ((this.listWidth * this.maxColumns || Math.max(this.wrap.getWidth(), this.minListWidth)) - this.list.getFrameWidth('lr')) / this.maxColumns + ( + (this.listWidth * this.maxColumns || Math.max(this.wrap.getWidth(), this.minListWidth)) - this.list.getFrameWidth('lr') + ) / this.maxColumns ); this.stores[opts.list+1].loadDataFromChildren( rec ); @@ -20534,6 +20535,10 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { } }, + + + + onDoubleClick : function() { this.collapse(); //?? @@ -20593,7 +20598,9 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { // if store is not loaded, then we will need to wait for that to happen first. var stack = []; this.findRecordInStore(this.store, this.hiddenName, this.getValue(), stack); - + for (var i = 0; i < stack.length; i++ ) { + this.view[i].select(stack[i].store.indexOf(stack[i]), false, false ); + } }