Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / Form.js
index 50ae88f..f5b3703 100644 (file)
@@ -56,7 +56,7 @@ Roo.form.Form = function(config){
     
     if (this.progressUrl) {
             // push a hidden field onto the list of fields..
-            this.items.addxtype( {
+            this.addxtype( {
                     xns: Roo.form, 
                     xtype : 'Hidden', 
                     name : 'UPLOAD_IDENTIFIER' 
@@ -238,7 +238,7 @@ Roo.extend(Roo.form.Form, Roo.form.BasicForm, {
         if (!id) {
             return ret;
         }
-        Ext.each(this.allItems, function(f){
+        Roo.each(this.allItems, function(f){
             if (f.id == id || f.name == id ){
                 ret = f;
                 return false;