Roo/Login.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 08:22:51 +0000 (16:22 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 08:22:51 +0000 (16:22 +0800)
Roo/Login.js

index a840d3f..bf1bdf1 100644 (file)
@@ -50,12 +50,12 @@ Roo.Login = function(cfg)
         this.onLoad();
     }, this);
     // call parent..
-    cfg = {
+    var dcfg = {
         items : this.items
     };
     this.items = [];
        
-    Roo.Login.superclass.constructor.call(this, this.items);
+    Roo.Login.superclass.constructor.call(this, dcfg);
     //this.addxtype(this.items[0]);