if ((typeof(o[i]) == 'object') ||
(typeof(o[i]) == 'function') ||
i == 'pack' ||
- i == 'xid' ||
+ i == 'id' ||
i == 'xtype' ||
i == 'xdebug' ||
i == 'xns'
this.el[i] = o[i];
}
// register it!
- //if (o.xnsid && o.xid) {
+ //if (o.xnsid && o.id) {
// XObject.registry = XObject.registry || { };
// XObject.registry[o.xnsid] = XObject.registry[o.xnsid] || {};
- // XObject.registry[o.xnsid][o.xid] = this;
+ // XObject.registry[o.xnsid][o.id] = this;
//}
cfg.items.forEach(this.addItem, this);
this.items.forEach(function(ch) {
- if (ch.xid == xid) {
+ if (ch.id == xid) {
ret = ch;
return true;
}