Roo/bootstrap/SecurePass.js
authorKH Lau <khlau@roojs.com>
Thu, 23 Nov 2017 04:45:31 +0000 (12:45 +0800)
committerKH Lau <khlau@roojs.com>
Thu, 23 Nov 2017 04:45:31 +0000 (12:45 +0800)
Roo/bootstrap/SecurePass.js

index fa959d4..304b4d2 100644 (file)
@@ -29,7 +29,7 @@ Roo.bootstrap.SecurePass = function (config) {
         TooWeak: "Your password is Too Weak."
     },
     this.meterLabel = "Password strength:";
-    this.pwdStrengths = ["Too Weak", "Weak", "Medium", "Strong"];
+    this.pwdStrengths = ["Too Weak", "Weak", "Medium", "Strong"];    
     Roo.bootstrap.SecurePass.superclass.constructor.call(this, config);
 }
 
@@ -47,6 +47,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
      * })
      */
     // private
+    meterClass = ["tooweak", "weak", "medium", "strong"];
     meterWidth: 300,
     errorMsg :'',    
     errors: {},