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:
@@ -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
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user