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