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 2246e5bc2f.
This commit is contained in:
Shannon
2018-05-03 14:40:56 +10:00
parent 93adda2e4a
commit c33bdf1f27

View File

@@ -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
});
});