Roo/Login.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 07:47:32 +0000 (15:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 07:47:32 +0000 (15:47 +0800)
Roo/Login.js

index 8e943b2..43a1a70 100644 (file)
@@ -45,14 +45,17 @@ Roo.Login = function(cfg)
     });
     
     Roo.apply(this,cfg);
-    Roo.each(this.items, function(e) {
-        this.addxtype(e);
-    }, this);
+    
     Roo.onReady(function() {
         this.onLoad();
     }, this);
     // call parent..
-    Roo.Login.superclass.constructor.call(this);
+    Roo.Login.superclass.constructor.call(this, {});
+    Roo.each(this.items, function(e) {
+        this.addxtype(e);
+    }, this);
+    
+    
 }