diff --git a/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js b/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js index 19a2c7f1d5..7f350eda42 100644 --- a/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js @@ -19,7 +19,7 @@ function DocumentTypesCreateController($scope, $location, navigationService, con $scope.showCreateFolder = function() { $scope.model.creatingFolder = true; - } + }; $scope.createContainer = function () { if (formHelper.submitForm({ @@ -48,22 +48,22 @@ function DocumentTypesCreateController($scope, $location, navigationService, con } } }); - }; - } + } + }; $scope.createDocType = function() { $location.search('create', null); $location.search('notemplate', null); $location.path("/settings/documenttypes/edit/" + node.id).search("create", "true"); navigationService.hideMenu(); - } + }; $scope.createComponent = function() { $location.search('create', null); $location.search('notemplate', null); $location.path("/settings/documenttypes/edit/" + node.id).search("create", "true").search("notemplate", "true"); navigationService.hideMenu(); - } + }; } angular.module('umbraco').controller("Umbraco.Editors.DocumentTypes.CreateController", DocumentTypesCreateController);