widgets/SecurePass.js
authorEdward <edward@roojs.com>
Tue, 23 Apr 2013 04:57:53 +0000 (12:57 +0800)
committerEdward <edward@roojs.com>
Tue, 23 Apr 2013 04:57:53 +0000 (12:57 +0800)
widgets/SecurePass.js

index f98c0ea..c91b596 100644 (file)
@@ -71,7 +71,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
 
     // private
     initEvents : function(){
-            Roo.log(this);
+            Roo.log(this.el.is('input[type=password]'));
             if(this.inputType == 'password'){
                 this.el.on('keydown',function(event){
                     if((event.getKey() == 8 || event.getKey() == 46) && this.getValue().length ==1){ // backspace and delete key