projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d447a
)
widgets/SecurePass.js
author
Alan Knowles
<alan@roojs.com>
Thu, 25 Jul 2013 07:13:16 +0000
(15:13 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 25 Jul 2013 07:13:16 +0000
(15:13 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
feb9b54
..
dd5e051
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-309,7
+309,9
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
if(isSelectAll){ // backspace and delete key
event.preventDefault();
- this.setValue(String.fromCharCode(event.getKey()));
+ this.setValue(String.fromCharCode(
+ this.shiftKey ? event.getKey() : event.getKey().toLowerCase()
+ ));
};
}
})
\ No newline at end of file