projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e4a3f
)
widgets/SecurePass.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:01:22 +0000
(12:01 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:01:22 +0000
(12:01 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
c64f878
..
33e2f22
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-71,6
+71,11
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
// private
initEvents : function(){
+ if(this.inputType == 'password'){
+ this.el.on('keydown',function(e){
+ Roo.log(e);
+ });
+ }
Ext.form.SecurePass.superclass.initEvents.call(this);
this.el.on('keyup', this.checkStrength, this, {buffer:50});
},
@@
-130,7
+135,6
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
// private
checkStrength : function(){
- Roo.log(this);
var pwd = this.el.getValue();
if (pwd == this._lastPwd) {
return;