Merge with 4.11.2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user