Remove JS error in console when editing document types with Nested Content properties
This commit is contained in:
@@ -690,7 +690,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.Prop
|
||||
}
|
||||
|
||||
function updatePropertyActionStates() {
|
||||
copyAllEntriesAction.isDisabled = $scope.model.value.length === 0;
|
||||
copyAllEntriesAction.isDisabled = !$scope.model.value || !$scope.model.value.length;
|
||||
}
|
||||
|
||||
$scope.$watch("currentNode", function (newVal) {
|
||||
|
||||
Reference in New Issue
Block a user