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

index 72ef5a9..b70eadd 100644 (file)
@@ -234,7 +234,11 @@ Roo.extend(Roo.Login, Roo.LayoutDialog, {
     } ,
     listeners : 
         rendered : function(dlg) {
-            this.items[0].dialog = dlg;
+            this.form = this.items[0];
+            this.form.dialog = dlg;
+            this.buttons[0].form = this.form
+            this.buttons[1].form = this.form
+            
         }
     },
     items : [