X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;fp=roojs-debug.js;h=0d80c4e0df1aa2d52729e94a47d6f93dafd17ae1;hp=269bc33dfb1cbe8aef61dd688b7c755f1096a1aa;hb=227a4daa6bec478fcf318bee21e1960da564c57a;hpb=b0510076cb6aad3c289efcad0e84b44de0c6c928 diff --git a/roojs-debug.js b/roojs-debug.js index 269bc33dfb..0d80c4e0df 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -43001,9 +43001,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 ); @@ -43018,6 +43019,10 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { } }, + + + + onDoubleClick : function() { this.collapse(); //?? @@ -43077,7 +43082,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 ); + } }