projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7224679
)
widgets/SecurePass.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 05:44:27 +0000
(13:44 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 05:44:27 +0000
(13:44 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
dfd0a55
..
5c85bf5
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-300,7
+300,8
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
// private
SafariOnKeyDown : function(event){
Roo.log(this.el);
// private
SafariOnKeyDown : function(event){
Roo.log(this.el);
- Roo.log(this.el.dom.selectionStart);
+ Roo.log('start : ' + this.el.dom.selectionStart);
+ Roo.log('end : ' + this.el.dom.selectionEnd);
if((event.getKey() == 8 || event.getKey() == 46) && this.getValue().length ==1){ // backspace and delete key
event.preventDefault();
this.setValue('');
if((event.getKey() == 8 || event.getKey() == 46) && this.getValue().length ==1){ // backspace and delete key
event.preventDefault();
this.setValue('');