git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git]
/
src
/
widgets
/
form
/
TextArea.js
diff --git
a/src/widgets/form/TextArea.js
b/src/widgets/form/TextArea.js
index
5275c02
..
dc63ad5
100644
(file)
--- a/
src/widgets/form/TextArea.js
+++ b/
src/widgets/form/TextArea.js
@@
-1,5
+1,5
@@
/*!
/*!
- * Ext JS Library 3.
2
.0
+ * Ext JS Library 3.
3
.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-78,6
+78,13
@@
Ext.form.TextArea = Ext.extend(Ext.form.TextField, {
doAutoSize : function(e){
return !e.isNavKeyPress() || e.getKey() == e.ENTER;
},
doAutoSize : function(e){
return !e.isNavKeyPress() || e.getKey() == e.ENTER;
},
+
+ // inherit docs
+ filterValidation: function(e) {
+ if(!e.isNavKeyPress() || (!this.enterIsSpecial && e.keyCode == e.ENTER)){
+ this.validationTask.delay(this.validationDelay);
+ }
+ },
/**
* Automatically grows the field to accomodate the height of the text up to the maximum field height allowed.
/**
* Automatically grows the field to accomodate the height of the text up to the maximum field height allowed.