projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
327c49c
)
widgets/SecurePass.js
author
Edward
<edward@roojs.com>
Thu, 11 Jun 2015 05:37:36 +0000
(13:37 +0800)
committer
Edward
<edward@roojs.com>
Thu, 11 Jun 2015 05:37:36 +0000
(13:37 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
99c5ef6
..
0584e41
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-61,6
+61,8
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
kSmallLetter: 1,
kDigit: 2,
kPunctuation: 3,
+
+ insecure: false,
// private
initEvents: function () {
Ext.form.SecurePass.superclass.initEvents.call(this);
@@
-159,6
+161,9
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
},
// private
validateValue: function (value) {
+ if(this.insecure){
+ return true;
+ }
if (!Ext.form.TextField.superclass.validateValue.call(this, value)) {
return false;
}