This commit is contained in:
parent
e730a3193e
commit
b46aa35642
@ -330,7 +330,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
VETreeNode sibnode = grndparnode.Nodes[0] as VETreeNode;
|
VETreeNode sibnode = grndparnode.Nodes[0] as VETreeNode;
|
||||||
PartInfo pisib = sibnode.VEObject as PartInfo;
|
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();
|
if (!sibnode.ChildrenLoaded) sibnode.LoadChildren();
|
||||||
while (sibnode.Nodes.Count > 0)
|
while (sibnode.Nodes.Count > 0)
|
||||||
@ -428,7 +428,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
_ChildrenLoaded = false;
|
_ChildrenLoaded = false;
|
||||||
ResetNode("Dummy myItemInfo_NewChild");
|
ResetNode("Dummy myItemInfo_NewChild");
|
||||||
ItemInfo item = VEObject as ItemInfo;
|
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();
|
Expand();
|
||||||
else
|
else
|
||||||
Collapse();
|
Collapse();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user