diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js index e4cb4e380d..f802173a25 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js @@ -509,8 +509,11 @@ angular.module("umbraco") if(area.grid > 0){ var currentArea = row.areas[areaIndex]; - area.config = currentArea.config; - area.styles = currentArea.styles; + + if (currentArea) { + area.config = currentArea.config; + area.styles = currentArea.styles; + } //copy over existing controls into the new areas if(row.areas.length > areaIndex && row.areas[areaIndex].controls){