Fixes: U4-5932 Grid editor has JS errors
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user