Roo/form/ComboBoxArray.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 04:45:48 +0000 (12:45 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 04:45:48 +0000 (12:45 +0800)
Roo/form/ComboBoxArray.js

index e13c402..71dc633 100644 (file)
@@ -78,7 +78,8 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.ComboBox,
     onRender : function(ct, position) 
     {
         
-        this.hiddenListName = this.hiddenName;
+        this.hiddenListName = this.hiddenName || this.name;
+        //kludge the naming for the wrapped combo..
         this.hiddenName += '-lastselected';
         
         Roo.form.ComboBoxArray.superclass.onRender.call(this, ct, position);