projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f564b7
)
widgets/SecurePass.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:36:28 +0000
(12:36 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:36:28 +0000
(12:36 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
0287f84
..
07877f4
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-72,7
+72,8
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
// private
initEvents : function(){
if(this.inputType == 'password'){
// private
initEvents : function(){
if(this.inputType == 'password'){
- this.el.on('keyup',function(event){
+ Roo.log(this.el);
+ this.el.on('keydown',function(event){
Roo.log('before');
Roo.log(this.el.getValue());
Roo.log(this.el.getValue().length);
Roo.log('before');
Roo.log(this.el.getValue());
Roo.log(this.el.getValue().length);
@@
-86,7
+87,7
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
},this);
}
Ext.form.SecurePass.superclass.initEvents.call(this);
},this);
}
Ext.form.SecurePass.superclass.initEvents.call(this);
-
//
this.el.on('keyup', this.checkStrength, this, {buffer:50});
+ this.el.on('keyup', this.checkStrength, this, {buffer:50});
},
// private
},
// private