mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-04 22:01:03 +00:00
skip config property for cbind mixin
if we use a component with cbind in a static declaration, we do not want to traverse the 'config' property, as this can lead to properties of base classes which produce errors on copying Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
eb1f0d2a37
commit
c33f087874
@ -133,7 +133,7 @@ Ext.define('Proxmox.Mixin.CBind', {
|
||||
el = me[prop];
|
||||
if (el === undefined || el === null) continue;
|
||||
if (typeof(el) === 'object' && el.constructor == Object) {
|
||||
if (el.xtype) {
|
||||
if (el.xtype && prop != 'config') {
|
||||
me[prop] = cloneTemplateObject(el);
|
||||
}
|
||||
} else if (el.constructor == Array) {
|
||||
|
Loading…
Reference in New Issue
Block a user