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

index f541e8c..3f253fb 100644 (file)
@@ -563,13 +563,16 @@ Roo.extend(Roo.Login, Roo.LayoutDialog, {
                     xtype : 'Button',
                     xns : 'Roo',
                     text : "Login",
-                    {
-                            
-                        this.dialog.el.mask("Logging in");
-                        this.form.doAction('submit', {
-                                url: this.dialog.url
-                                method: this.dialog.method
-                        });
+                    listeners : {
+                        
+                        click : function () {
+                                
+                            this.dialog.el.mask("Logging in");
+                            this.form.doAction('submit', {
+                                    url: this.dialog.url
+                                    method: this.dialog.method
+                            });
+                        }
                     }
                 }
             ]