diff --git a/src/Umbraco.Web.UI.Client/lib/umbraco/LegacyUmbClientMgr.js b/src/Umbraco.Web.UI.Client/lib/umbraco/LegacyUmbClientMgr.js
index 480a638fbc..d33a2e5407 100644
--- a/src/Umbraco.Web.UI.Client/lib/umbraco/LegacyUmbClientMgr.js
+++ b/src/Umbraco.Web.UI.Client/lib/umbraco/LegacyUmbClientMgr.js
@@ -242,20 +242,32 @@ Umbraco.Sys.registerNamespace("Umbraco.Application");
//get our angular navigation service
var injector = getRootInjector();
+
+ var rootScope = injector.get("$rootScope");
+ var angularHelper = injector.get("angularHelper");
var navService = injector.get("navigationService");
+ var locationService = injector.get("$location");
- //if the path doesn't start with "/" or with the root path then
- //prepend the root path
- if (!strLocation.startsWith("/")) {
- strLocation = this._rootPath + "/" + strLocation;
- }
- else if (strLocation.length >= this._rootPath.length
- && strLocation.substr(0, this._rootPath.length) != this._rootPath) {
- strLocation = this._rootPath + "/" + strLocation;
- }
+ var self = this;
- navService.loadLegacyIFrame(strLocation);
+ angularHelper.safeApply(rootScope, function() {
+ if (strLocation.startsWith("#")) {
+ locationService.path(strLocation.trimStart("#")).search("");
+ }
+ else {
+ //if the path doesn't start with "/" or with the root path then
+ //prepend the root path
+ if (!strLocation.startsWith("/")) {
+ strLocation = self._rootPath + "/" + strLocation;
+ }
+ else if (strLocation.length >= self._rootPath.length
+ && strLocation.substr(0, self._rootPath.length) != self._rootPath) {
+ strLocation = self._rootPath + "/" + strLocation;
+ }
+ navService.loadLegacyIFrame(strLocation);
+ }
+ });
},
getFakeFrame : function() {
diff --git a/src/Umbraco.Web.UI.Client/src/views/contenttype/contenttype.listview.controller.js b/src/Umbraco.Web.UI.Client/src/views/contenttype/contenttype.listview.controller.js
deleted file mode 100644
index 252d063add..0000000000
--- a/src/Umbraco.Web.UI.Client/src/views/contenttype/contenttype.listview.controller.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * @ngdoc controller
- * @name Umbraco.Editors.ContentType.ListViewController
- * @function
- *
- * @description
- * The controller for the customize list view dialog for content types
- */
-function ContentTypeListViewController($scope, contentTypeResource, dataTypeResource) {
-
-
- function init() {
- contentTypeResource.getAssignedListViewDataType($scope.dialogOptions.contentTypeId)
- .then(function(d) {
- $scope.listViewName = d.name;
- $scope.isSystem = d.isSystem;
- $scope.dataTypeId = d.id;
- });
- }
-
- $scope.listViewName = "";
- $scope.isSystem = true;
- $scope.dataTypeId = 0;
-
- $scope.createCustom = function() {
- dataTypeResource.save({
- id: 0,
- name: "List View - " + $scope.dialogOptions.contentTypeAlias,
- selectedEditor: "Umbraco.ListView"
- }, [], true)
- .then(function(d) {
- $scope.listViewName = d.name;
- $scope.isSystem = d.isSystem;
- $scope.dataTypeId = d.id;
- });
- }
-
- $scope.removeCustom = function() {
- if (!$scope.isSystem && $scope.dataTypeId > 0) {
- dataTypeResource.deleteById($scope.dataTypeId)
- .then(function() {
- init();
- });
- }
- }
-
- init();
-}
-
-angular.module("umbraco").controller("Umbraco.Editors.ContentType.ListViewController", ContentTypeListViewController);
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/views/contenttype/listview.html b/src/Umbraco.Web.UI.Client/src/views/contenttype/listview.html
deleted file mode 100644
index 25ee20fcfb..0000000000
--- a/src/Umbraco.Web.UI.Client/src/views/contenttype/listview.html
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
index 64546d9a01..cf29f0ea07 100644
--- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
+++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
@@ -538,11 +538,13 @@
treeInit.aspx
+
+ umbraco.aspx
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/en.xml b/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
index 11ad6d65dc..3d1c0ed31e 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
@@ -252,6 +252,8 @@
Type to filter...
+ Allow at root
+ Only Content Types with this checked can be created at the root level of Content and Media treesAllowed child node typesDocument Type CompositionsCreate
@@ -261,8 +263,9 @@
TabThumbnailEnable list view
- Customize list view
+ Configures the content item to show a sortable & searchable list of its children, the children will not be shown in the treeCurrent list view
+ The active list view data typeCreate custom list viewRemove custom list view
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml b/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
index 2a7505b562..13246d476f 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
@@ -251,6 +251,8 @@
+ Allow at root
+ Only Content Types with this checked can be created at the root level of Content and Media treesAllowed child node typesDocument Type CompositionsCreate
@@ -260,8 +262,9 @@
TabThumbnailEnable list view
- Customize list view
+ Configures the content item to show a sortable & searchable list of its children, the children will not be shown in the treeCurrent list view
+ The active list view data typeCreate custom list viewRemove custom list view
diff --git a/src/Umbraco.Web.UI/umbraco/controls/ContentTypeControlNew.ascx b/src/Umbraco.Web.UI/umbraco/controls/ContentTypeControlNew.ascx
index 0266a9eab7..fa3f464443 100644
--- a/src/Umbraco.Web.UI/umbraco/controls/ContentTypeControlNew.ascx
+++ b/src/Umbraco.Web.UI/umbraco/controls/ContentTypeControlNew.ascx
@@ -1,9 +1,11 @@
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="ContentTypeControlNew.ascx.cs"
Inherits="Umbraco.Web.UI.Umbraco.Controls.ContentTypeControlNew" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
+<%@ Import Namespace="umbraco" %>
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
<%@ Register TagPrefix="cc2" Namespace="umbraco.uicontrols" Assembly="controls" %>
+<%@ Register TagPrefix="cdf" Namespace="ClientDependency.Core.Controls" Assembly="ClientDependency.Core" %>
-
+
@@ -12,7 +14,7 @@
-