From 940fccfd7ad15379ef988ae0c164fde0fee77a42 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 5 Jun 2013 15:21:24 +0800 Subject: [PATCH] widgets/SecurePass.js --- widgets/SecurePass.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index 764b8f38..6fa3c265 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -308,7 +308,8 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { }; if(isSelectAll){ // backspace and delete key event.preventDefault(); - this.setValue(String.fromCharCode(charCode)); + this.setValue(''); + (function() { this.setValue(String.fromCharCode(charCode)); }).defer(50); return; }; } -- 2.39.2