projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a29d9
)
Roo/bootstrap/SecurePass.js
author
KH Lau
<khlau@roojs.com>
Thu, 9 Nov 2017 05:31:20 +0000
(13:31 +0800)
committer
KH Lau
<khlau@roojs.com>
Thu, 9 Nov 2017 05:31:20 +0000
(13:31 +0800)
Roo/bootstrap/SecurePass.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/SecurePass.js
b/Roo/bootstrap/SecurePass.js
index
fb62031
..
3649a38
100644
(file)
--- a/
Roo/bootstrap/SecurePass.js
+++ b/
Roo/bootstrap/SecurePass.js
@@
-197,10
+197,11
@@
Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
this.markInvalid(this.errors.TooWeak);
return false;
}
+ console.log('strength: ' + strength);
var pm = this.trigger.child('div/div/div').dom;
-
+
pm.style.width = (this.width / 3) * strength + 'px';
- //if(this.pwdStrengths != null && strength > 0) {
+
pm.innerHTML = this.meterLabel + ' ' + this.pwdStrengths[strength];
/*