projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193d5a9
)
widgets/SecurePass.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:47:32 +0000
(12:47 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:47:32 +0000
(12:47 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
bc203d5
..
17e0f1a
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-73,7
+73,7
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
initEvents : function(){
if(this.inputType == 'password'){
this.el.on('keydown',function(event){
- Roo.log(
event.getKey()
);
+ Roo.log(
this.getValue().length
);
if((event.getKey() == 8 || event.getKey() == 46) && this.getValue().length == 1){ // backspace and delete key
event.preventDefault();
this.setValue('');