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.2.2 - Released 06/02/2010
[extjs.git]
/
docs
/
source
/
CompositeField.html
diff --git
a/docs/source/CompositeField.html
b/docs/source/CompositeField.html
index
e2ffd5e
..
9e53749
100644
(file)
--- a/
docs/source/CompositeField.html
+++ b/
docs/source/CompositeField.html
@@
-7,7
+7,7
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.2.
1
+ * Ext JS Library 3.2.
2
* 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
@@
-80,6
+80,11
@@
Ext.form.CompositeField = Ext.extend(Ext.form.Field, {
* True to combine errors from the individual fields into a single error message at the CompositeField level (defaults to true)
*/
combineErrors: true,
* True to combine errors from the individual fields into a single error message at the CompositeField level (defaults to true)
*/
combineErrors: true,
+
+ <div id="cfg-Ext.form.CompositeField-labelConnector"></div>/**
+ * @cfg {String} labelConnector The string to use when joining segments of the built label together (defaults to ', ')
+ */
+ labelConnector: ', ',
//inherit docs
//Builds the composite field label
//inherit docs
//Builds the composite field label
@@
-322,7
+327,7
@@
Ext.form.CompositeField = Ext.extend(Ext.form.Field, {
* @return {String} The built label
*/
buildLabel: function(segments) {
* @return {String} The built label
*/
buildLabel: function(segments) {
- return
segments.join(", "
);
+ return
Ext.clean(segments).join(this.labelConnector
);
},
<div id="method-Ext.form.CompositeField-isDirty"></div>/**
},
<div id="method-Ext.form.CompositeField-isDirty"></div>/**