mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2026-01-06 02:52:32 +00:00
CBind.js: fix cloneTemplateArray
This commit is contained in:
parent
fbdf4ca751
commit
7d9225e651
@ -83,11 +83,8 @@ Ext.define('Proxmox.Mixin.CBind', {
|
||||
applyCBind(elcopy);
|
||||
}
|
||||
copy.push(elcopy);
|
||||
} else if (el.constructor == Object && el.xtype) {
|
||||
elcopy = cloneTemplateObject(el);
|
||||
if (elcopy.cbind) {
|
||||
applyCBind(elcopy);
|
||||
}
|
||||
} else if (el.constructor == Array) {
|
||||
elcopy = cloneTemplateArray(el);
|
||||
copy.push(elcopy);
|
||||
} else {
|
||||
copy.push(el);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user