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

index 4d16cfe..0b737fe 100644 (file)
@@ -86,7 +86,7 @@ Roo.extend(Roo.Login, Roo.LayoutDialog, {
             Roo.get('loading').remove();
         }
         
-        this.switchLang('en'); // set the language to english..
+        //this.switchLang('en'); // set the language to english..
        
         this.check({
             success:  function(response, opts)  {  // check successfull...
@@ -560,7 +560,7 @@ Pman.Login =  new Roo.util.Observable({
         
              
       
-          /* this will not work ...
+         
     
     switchLang : function (lang) 
     {
@@ -586,7 +586,7 @@ Pman.Login =  new Roo.util.Observable({
         Roo.apply(_T, _T[lang]);
         // just need to set the text values for everything...
         var _this = this;
-   
+        /* this will not work ...
         if (this.form) { 
             
                
@@ -601,7 +601,7 @@ Pman.Login =  new Roo.util.Observable({
             this.dialog.buttons[0].setText("Forgot Password");
             this.dialog.buttons[1].setText("Login");
         }
-        
+        */
         
         
     }