X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_form_ComboBoxArray.js.html;fp=docs%2Fsrc%2FRoo_form_ComboBoxArray.js.html;h=e1a6c1da96fe5899bc2bc66f6920e9417d33ef28;hp=0d46893de017e96740c92dd331383a0a0b2ad177;hb=9c024aa0d7e78ad1630dca48384ef6586cd374d4;hpb=d25b2a59660233bd4af2b7c68dcdb508dd3b7727 diff --git a/docs/src/Roo_form_ComboBoxArray.js.html b/docs/src/Roo_form_ComboBoxArray.js.html index 0d46893de0..e1a6c1da96 100644 --- a/docs/src/Roo_form_ComboBoxArray.js.html +++ b/docs/src/Roo_form_ComboBoxArray.js.html @@ -1,4 +1,4 @@ -/home/edward/gitlive/roojs1/Roo/form/ComboBoxArray.js/* +Roo/form/ComboBoxArray.js/* * Copyright(c) 2010-2012, Roo J Solutions Limited * * Licence LGPL @@ -115,7 +115,7 @@ // give fake names to child combo; this.combo.hiddenName = this.hiddenName ? (this.hiddenName+'-subcombo') : this.hiddenName; - this.combo.name = this.name? (this.name+'-subcombo') : this.name; + this.combo.name = this.name ? (this.name+'-subcombo') : this.name; this.combo = Roo.factory(this.combo, Roo.form); this.combo.onRender(ct, position); @@ -236,6 +236,7 @@ { var valueField = this.combo.valueField; var displayField = this.combo.displayField; + if (this.items.indexOfKey(rec[valueField]) > -1) { //console.log("GOT " + rec.data.id); return; @@ -267,7 +268,6 @@ this.items.each(function(f) { ar.push(f.data[idField]); - }); this.hiddenEl.dom.value = ar.join(','); this.validate(); @@ -296,8 +296,6 @@ this.reset(); - - if (this.store.isLocal && (typeof(v) == 'string')) { // then we can use the store to find the values.. // comma seperated at present.. this needs to allow JSON based encoding..