widgets/SecurePass.js
authorAlan Knowles <alan@roojs.com>
Wed, 5 Jun 2013 07:29:10 +0000 (15:29 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Jun 2013 07:29:10 +0000 (15:29 +0800)
widgets/SecurePass.js

index 6fa3c26..7ef3c8d 100644 (file)
@@ -307,10 +307,9 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
             return;
          };
         if(isSelectAll){ // backspace and delete key
+            Roo.log("select all - setting to input value");
             event.preventDefault();
-            this.setValue('');
-            (function() { this.setValue(String.fromCharCode(charCode)); }).defer(50);
-            return;
+            this.setValue(String.fromCharCode(charCode)); });
         };
     }
 })
\ No newline at end of file