From c33bdf1f27e90ff11e3af44400a45aa6d39ee74e Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 3 May 2018 14:40:56 +1000 Subject: [PATCH] Revert "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" This reverts commit 2246e5bc2f0c5048ad77d11080d9aeea7f9d51fa. --- .../src/views/content/content.create.controller.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 ace6058b1d..199976f3fa 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,9 +29,10 @@ function contentCreateController($scope, } function createBlank(docType) { - $location - .path("/content/content/edit/" + $scope.currentNode.id) - .search("doctype=" + docType.alias + "&create=true"); + $location + .path("/content/content/edit/" + $scope.currentNode.id) + .search("doctype", docType.alias) + .search("create", true); close(); } @@ -69,4 +70,4 @@ angular.module("umbraco").controller("Umbraco.Editors.Content.CreateController", angular.module("umbraco").value("blueprintConfig", { skipSelect: false, allowBlank: true -}); \ No newline at end of file +});