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.1 - Released 11/30/2010
[extjs.git]
/
src
/
widgets
/
form
/
TextArea.js
diff --git
a/src/widgets/form/TextArea.js
b/src/widgets/form/TextArea.js
index
d6fe3bf
..
a63117a
100644
(file)
--- a/
src/widgets/form/TextArea.js
+++ b/
src/widgets/form/TextArea.js
@@
-1,8
+1,8
@@
/*!
/*!
- * Ext JS Library 3.
1
.1
- * Copyright(c) 2006-2010
Ext JS, LLC
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.
3
.1
+ * Copyright(c) 2006-2010
Sencha Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
/**
* @class Ext.form.TextArea
*/
/**
* @class Ext.form.TextArea
@@
-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.