N°2278 - Object-copier: Fix n:n link attributes set to default on copy

This commit is contained in:
Eric
2019-06-12 10:17:19 +02:00
parent f4747c5cef
commit 6564d84a2f
2 changed files with 51 additions and 40 deletions

View File

@@ -448,6 +448,10 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates, oWizH
}
else {
// Modifying a newly added link - the structure should already be up to date
if (iUniqueId < 0)
{
iUniqueId = -iUniqueId;
}
me.aAdded[iUniqueId]['attr_' + sFormPrefix + sAttCode] = value;
}
};