projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b1a9cb
)
Roo/form/TextField.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 05:13:55 +0000
(13:13 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2013 05:13:55 +0000
(13:13 +0800)
Roo/form/TextField.js
patch
|
blob
|
history
diff --git
a/Roo/form/TextField.js
b/Roo/form/TextField.js
index
5149408
..
0edcd21
100644
(file)
--- a/
Roo/form/TextField.js
+++ b/
Roo/form/TextField.js
@@
-137,6
+137,13
@@
Roo.extend(Roo.form.TextField, Roo.form.Field, {
this.el.on("keyup", this.onKeyUp, this, {buffer:50});
this.el.on("click", this.autoSize, this);
}
+
+ if(this.el.is('input[type=password]') && Roo.isSafari){
+ this.el.on('keydown', this.SafariOnKeyDown, this);
+ this.el.on("focus", function(){
+ this.setValue('');
+ }, this);
+ }
},
processValue : function(value){