projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed307cf
)
Roo/form/TextField.js
author
Alan Knowles
<alan@roojs.com>
Wed, 5 Jun 2013 07:31:49 +0000
(15:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 5 Jun 2013 07:31:49 +0000
(15:31 +0800)
Roo/form/TextField.js
patch
|
blob
|
history
diff --git
a/Roo/form/TextField.js
b/Roo/form/TextField.js
index
09d76b9
..
25d6324
100644
(file)
--- a/
Roo/form/TextField.js
+++ b/
Roo/form/TextField.js
@@
-324,11
+324,11
@@
Roo.extend(Roo.form.TextField, Roo.form.Field, {
event.preventDefault();
this.setValue('');
return;
- };
+
};
if(isSelectAll){ // backspace and delete key
+
event.preventDefault();
- this.setValue(String.fromCharCode(charCode));
- return;
+ this.setValue(String.fromCharCode(event.getKey()));
};