From: Alan Knowles Date: Wed, 2 Oct 2013 07:57:47 +0000 (+0800) Subject: Roo/form/ComboBoxArray.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=3716c73bb77c85b173159f13715cac38d329f9d2 Roo/form/ComboBoxArray.js --- diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index 0462a6df9d..1430f64d79 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -101,7 +101,10 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, this.combo = Roo.factory(this.combo, Roo.form); this.combo.onRender(ct, position); - this.combo.onResize(this.combo.width,0); + if (typeof(this.combo.width) != 'undefined')) { + this.combo.onResize(this.combo.width,0); + } + this.combo.initEvents(); // assigned so form know we need to do this..