projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e2bba32
)
widgets/SecurePass.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:44:40 +0000
(12:44 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 04:44:40 +0000
(12:44 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
07877f4
..
c9f0794
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-72,15
+72,8
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
// private
initEvents : function(){
if(this.inputType == 'password'){
// private
initEvents : function(){
if(this.inputType == 'password'){
- Roo.log(this.el);
this.el.on('keydown',function(event){
this.el.on('keydown',function(event){
- Roo.log('before');
- Roo.log(this.el.getValue());
- Roo.log(this.el.getValue().length);
if(event.getKey() == 8){
if(event.getKey() == 8){
- Roo.log('in');
- Roo.log(this.el.getValue());
- Roo.log(this.el.getValue().length);
event.preventDefault();
this.setValue('');
};
event.preventDefault();
this.setValue('');
};