widgets/SecurePass.js
[Pman.Core] / widgets / SecurePass.js
index b65ea1e..c64f878 100644 (file)
@@ -3,7 +3,6 @@
 
 
 Ext.form.SecurePass = function(config) {
-    Roo.log(config);
        // these go here, so the translation tool can replace them..
     this.errors = {
                PwdEmpty: "Please type a password, and then retype it to confirm.",
@@ -72,8 +71,8 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
 
     // private
     initEvents : function(){
-        Ext.form.SecurePass.superclass.initEvents.call(this);
-               this.el.on('keyup', this.checkStrength, this, {buffer:50});
+            Ext.form.SecurePass.superclass.initEvents.call(this);
+            this.el.on('keyup', this.checkStrength, this, {buffer:50});
        },
 
        // private
@@ -131,6 +130,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
     
        // private
        checkStrength : function(){
+            Roo.log(this);
                var pwd = this.el.getValue();
                if (pwd == this._lastPwd) {
                        return;