From cbe8f15007e355916a6f7ce8f93ad2ccb9e5c4e0 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 26 Aug 2013 12:11:07 +0200 Subject: [PATCH] U4-2636 Allow at root property are outside of view in backoffice --- .../umbraco/controls/ContentTypeControlNew.ascx.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs index 86f11eeb77..9173f9f681 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs @@ -76,10 +76,16 @@ namespace umbraco.controls LoadContentType(); SetupInfoPane(); - if (!HideStructure) + + if (HideStructure) + { + pnlStructure.Visible = false; + } + else { SetupStructurePane(); } + SetupGenericPropertiesPane(); SetupTabPane();