From beacc5bba8cd34d3c34df102020e04cdc79bcaa6 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Fri, 2 Aug 2019 11:43:22 +0200 Subject: [PATCH] Fix broken button to open content type from create dialog (cherry picked from commit 57e58c6cf75112c738ca08e9398dcc77915b64fb) --- .../src/views/content/content.create.controller.js | 5 +++++ src/Umbraco.Web.UI.Client/src/views/content/create.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js b/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js index d04c707b2518..f90636992621 100644 --- a/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js @@ -94,6 +94,11 @@ function contentCreateController($scope, navigationService.hideDialog(showMenu); }; + $scope.editContentType = function() { + $location.path("/settings/documenttypes/edit/" + $scope.contentTypeId).search("view", "permissions"); + close(); + } + $scope.createBlank = createBlank; $scope.createOrSelectBlueprintIfAny = createOrSelectBlueprintIfAny; $scope.createFromBlueprint = createFromBlueprint; diff --git a/src/Umbraco.Web.UI.Client/src/views/content/create.html b/src/Umbraco.Web.UI.Client/src/views/content/create.html index 059b5eaf25f7..b8303efade9b 100644 --- a/src/Umbraco.Web.UI.Client/src/views/content/create.html +++ b/src/Umbraco.Web.UI.Client/src/views/content/create.html @@ -10,7 +10,7 @@
Select

-