From c0c98c885b6cbb3f84f6d3753dc1d392232bdc36 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 5 Jun 2013 15:29:10 +0800 Subject: [PATCH] widgets/SecurePass.js --- widgets/SecurePass.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2