corrected variable name for property-action

This commit is contained in:
Niels Lyngsø
2019-10-28 17:18:08 +01:00
parent ed909e9f93
commit 1c5d8efe77

View File

@@ -234,7 +234,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.Prop
});
}
var CopyAllEntriesAction = {
var copyAllEntriesAction = {
labelKey: 'clipboard_labelForCopyAllEntries',
labelTokens: [$scope.model.label],
icon: 'documents',
@@ -694,7 +694,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.Prop
}
function updatePropertyActionStates() {
CopyAllEntriesAction.isDisabled = $scope.model.value.length === 0;
copyAllEntriesAction.isDisabled = $scope.model.value.length === 0;
}
$scope.$watch("currentNode", function (newVal) {
@@ -705,7 +705,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.Prop
var api = {};
api.propertyActions = [
CopyAllEntriesAction
copyAllEntriesAction
];
propertyEditorService.exposeAPI($scope, api);// must be executed at a state where the API is set.