widgets/SecurePass.js
[Pman.Core] / widgets / SecurePass.js
index 33e2f22..f9cd22c 100644 (file)
@@ -72,8 +72,12 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
     // private
     initEvents : function(){
             if(this.inputType == 'password'){
-                this.el.on('keydown',function(e){
-                    Roo.log(e);
+                this.el.on('keydown',function(event){
+                    Roo.log(this);
+                    if(event.getKey() == 8){
+                        event.preventDefault();
+                        //this.setValue('');
+                    };
                 });
             }
             Ext.form.SecurePass.superclass.initEvents.call(this);