Merge pull request #5447 from kjac/v8-fix-nested-content-set-dirty-on-paste

V8: Prompt to save changes after pasting items into Nested Content
This commit is contained in:
Sebastiaan Janssen
2019-05-31 19:19:41 +02:00
committed by GitHub

View File

@@ -356,6 +356,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.Prop
newNode.key = String.CreateGuid();
$scope.nodes.push(newNode);
$scope.setDirty();
//updateModel();// done by setting current node...
$scope.currentNode = newNode;