Make sure to use the new Utilities class

This commit is contained in:
Sebastiaan Janssen
2020-06-12 15:46:06 +02:00
parent c4456c53a0
commit 9be4775acf

View File

@@ -125,8 +125,8 @@
var oldProperty = previousVersion.tabs[tabIndex].properties[propertyIndex];
// copy existing properties, so it doesn't manipulate existing properties on page
oldProperty = angular.copy(oldProperty);
property = angular.copy(property);
oldProperty = Utilities.copy(oldProperty);
property = Utilities.copy(property);
// we have to make properties storing values as object into strings (Grid, nested content, etc.)
if(property.value instanceof Object) {