Merge with 4.11.2

This commit is contained in:
Sebastiaan Janssen
2013-01-10 07:44:28 -01:00
2 changed files with 8 additions and 8 deletions

View File

@@ -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;
}

View File

@@ -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; }
}
/// <summary>