From: Alan Knowles Date: Wed, 23 Jun 2010 07:47:32 +0000 (+0800) Subject: Roo/Login.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=edad70ba33ed4baa1d455422b2fd6b959ae9558f;p=roojs1 Roo/Login.js --- diff --git a/Roo/Login.js b/Roo/Login.js index 8e943b2636..43a1a70f86 100644 --- a/Roo/Login.js +++ b/Roo/Login.js @@ -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); + + }