This commit is contained in:
Kathy Ruffing 2012-01-27 12:40:30 +00:00
parent e730a3193e
commit b46aa35642

View File

@ -330,7 +330,7 @@ namespace VEPROMS.CSLA.Library
{
VETreeNode sibnode = grndparnode.Nodes[0] as VETreeNode;
PartInfo pisib = sibnode.VEObject as PartInfo;
if (pisib != null && (pisib.ToString() == "Sections" || pisib.ToString() == "Steps"))
if (pisib != null && (pisib.ToString() == "Steps"))
{
if (!sibnode.ChildrenLoaded) sibnode.LoadChildren();
while (sibnode.Nodes.Count > 0)
@ -428,7 +428,7 @@ namespace VEPROMS.CSLA.Library
_ChildrenLoaded = false;
ResetNode("Dummy myItemInfo_NewChild");
ItemInfo item = VEObject as ItemInfo;
if (isExpanded && item != null && item.MyContent.ContentPartCount >1) // || args.ItemInserted.NextItem != null || args.ItemInserted.MyPrevious != null))
if (isExpanded && item != null && item.MyContent.ContentPartCount > 1) // || args.ItemInserted.NextItem != null || args.ItemInserted.MyPrevious != null))
Expand();
else
Collapse();