X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/source/Component.html?ds=sidebyside diff --git a/docs/source/Component.html b/docs/source/Component.html index ff8d93e5..37ac1609 100644 --- a/docs/source/Component.html +++ b/docs/source/Component.html @@ -442,17 +442,6 @@ new Ext.FormPanel({ */ - // Configs below are used for all Components when rendered by AnchorLayout. -
/** - * @cfg {String} anchorNote: this config is only used when this Component is rendered - * by a Container which has been configured to use an {@link Ext.layout.AnchorLayout AnchorLayout} - * based layout manager, for example:
layout: 'anchor' // or 'form', or 'absolute'
See {@link Ext.layout.AnchorLayout}.{@link Ext.layout.AnchorLayout#anchor anchor} also.
- */ - /** * @cfg {String} id *The unique id of this component (defaults to an {@link #getId auto-assigned id}).
@@ -833,7 +822,7 @@ new Ext.Panel({
* @cfg {Mixed} tpl
* An {@link #data}
and
+ * Used in conjunction with the {@link #data}
and
* {@link #tplWriteMode}
configurations.
*/
@@ -1095,10 +1084,10 @@ var myGrid = new Ext.grid.EditorGridPanel({
*/
if(this.ref && !this.refOwner){
var levels = this.ref.split('/'),
- last = levels.length,
+ last = levels.length,
i = 0,
t = this;
-
+
while(t && i < last){
t = t.ownerCt;
++i;
@@ -1141,7 +1130,7 @@ var myGrid = new Ext.grid.EditorGridPanel({
// private
getStateId : function(){
- return this.stateId || ((this.id.indexOf('ext-comp-') == 0 || this.id.indexOf('ext-gen') == 0) ? null : this.id);
+ return this.stateId || ((/^(ext-comp-|ext-gen)/).test(String(this.id)) ? null : this.id);
},
// private