From: Alan Knowles Date: Wed, 5 Jun 2013 07:29:10 +0000 (+0800) Subject: widgets/SecurePass.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=c0c98c885b6cbb3f84f6d3753dc1d392232bdc36 widgets/SecurePass.js --- 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