X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=widgets%2FSecurePass.js;h=7ef3c8d279d0b18315a156dc262b5e1861f22cfa;hb=c0c98c885b6cbb3f84f6d3753dc1d392232bdc36;hp=6fa3c265af71fb440a7493b520dffa27405b9f9f;hpb=4f2078848d92f884309f9e164056de36dc540315;p=Pman.Core diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index 6fa3c265..7ef3c8d2 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -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