projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0fdfd8
)
widgets/SecurePass.js
author
Alan Knowles
<alan@roojs.com>
Wed, 5 Jun 2013 07:21:24 +0000
(15:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 5 Jun 2013 07:21:24 +0000
(15:21 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
764b8f3
..
6fa3c26
100644
(file)
--- 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;
};
}