projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
57e17f2
)
widgets/SecurePass.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:05:55 +0000
(12:05 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:05:55 +0000
(12:05 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
228ee43
..
11131e5
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-73,7
+73,10
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
initEvents : function(){
if(this.inputType == 'password'){
this.el.on('keydown',function(event){
- Roo.log(event.getKey());
+ if(event.getKey() == 8){
+ event.preventDefault();
+ this.setValue('');
+ };
});
}
Ext.form.SecurePass.superclass.initEvents.call(this);