From 2246e5bc2f0c5048ad77d11080d9aeea7f9d51fa Mon Sep 17 00:00:00 2001 From: Warren Date: Wed, 2 May 2018 14:03:00 +0100 Subject: [PATCH] Reverts change from merge in U4-11289 aka PR#2608 from Shan - that causes the Karma unit JS tests to fail - not sure why the chained version fails though & thus the Powershell ZIP & Nuget build output script --- .../src/views/content/content.create.controller.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 199976f3fa..ace6058b1d 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 @@ -29,10 +29,9 @@ function contentCreateController($scope, } function createBlank(docType) { - $location - .path("/content/content/edit/" + $scope.currentNode.id) - .search("doctype", docType.alias) - .search("create", true); + $location + .path("/content/content/edit/" + $scope.currentNode.id) + .search("doctype=" + docType.alias + "&create=true"); close(); } @@ -70,4 +69,4 @@ angular.module("umbraco").controller("Umbraco.Editors.Content.CreateController", angular.module("umbraco").value("blueprintConfig", { skipSelect: false, allowBlank: true -}); +}); \ No newline at end of file