Removed unnecessary code

This commit is contained in:
Rich 2010-02-02 20:53:57 +00:00
parent c37952b58c
commit f2f3f030be

View File

@ -222,8 +222,10 @@ namespace VEPROMS.CSLA.Library
tmp.ExpandChildren(o.GetChildren()); tmp.ExpandChildren(o.GetChildren());
tmp._ChildrenLoaded = true; tmp._ChildrenLoaded = true;
} }
else // OLD: RHM 20100115 : I don't think that the following lines are necessary since the "new VETreeNode(o)"
tmp.Nodes.Add(string.Format("dummy: {0}", o.GetType().Name));// Add a Dummy Node so that the item will appear to be expanable. // above includes a similar function.
//else
// tmp.Nodes.Add(string.Format("dummy: {0}", o.GetType().Name));// Add a Dummy Node so that the item will appear to be expanable.
} }
else else
tmp._ChildrenLoaded = true;// Reset the children loaded flag tmp._ChildrenLoaded = true;// Reset the children loaded flag