projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc8fcb1
)
Roo/bootstrap/form/Input.js
author
leon
<leon@roojs.com>
Thu, 4 May 2023 03:59:15 +0000
(11:59 +0800)
committer
leon
<leon@roojs.com>
Thu, 4 May 2023 03:59:15 +0000
(11:59 +0800)
Roo/bootstrap/form/Input.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/form/Input.js
b/Roo/bootstrap/form/Input.js
index
c6c2c90
..
6ac730d
100644
(file)
--- a/
Roo/bootstrap/form/Input.js
+++ b/
Roo/bootstrap/form/Input.js
@@
-676,13
+676,9
@@
Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component, {
},
onPasswordClick : function(e)
{
- Roo.log('ON PASSWORD CLICK');
- Roo.log(e);
+ this.inputEl().attr('type', 'password');
if(this.inputEl().attr('type') == 'password') {
- this.inputEl().attr('text');
- }
- else {
- this.inputEl().attr('password');
+ this.inputEl().attr('type', 'text');
}
},
filterValidation : function(e){