diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/BaseContentTree.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/BaseContentTree.cs index 8903e98d55..6a86e35fba 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/BaseContentTree.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/BaseContentTree.cs @@ -112,8 +112,13 @@ function openContent(id) { node.Icon = dd.ContentTypeIcon; node.OpenIcon = dd.ContentTypeIcon; } - if (!dd.Published) - node.Style.DimNode(); + + if (dd.Published == false) + node.Style.DimNode(); + + if (dd.HasPendingChanges()) + node.Style.HighlightNode(); + return node; } diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/XmlTree.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/XmlTree.cs index 314a5363ed..38eaca32c0 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/XmlTree.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/XmlTree.cs @@ -339,12 +339,7 @@ namespace umbraco.cms.presentation.Trees public bool? NotPublished { get { return m_notPublished; } - set - { - m_notPublished = value; - if (m_notPublished.HasValue && m_notPublished.Value) - this.Style.DimNode(); - } + set { m_notPublished = value; } } ///