Added code to fix error when restoring a deleted procedure from either a previous or next procedure.

This commit is contained in:
Rich 2013-11-11 18:48:03 +00:00
parent 21d018181d
commit 8cbe003054

View File

@ -1562,7 +1562,8 @@ namespace VEPROMS.CSLA.Library
OnNewSiblingBefore(new ItemInfoInsertEventArgs(tmp, EAddpingPart.Before));
else
OnNewSiblingAfter(new ItemInfoInsertEventArgs(tmp, EAddpingPart.After));
((ItemInfo)ActiveParent).MyContent.RefreshContentParts();
if (!ActiveParent.IsDocVersion)
((ItemInfo)ActiveParent).MyContent.RefreshContentParts();
tmp.OnInfoRestored(tmp);
return tmp;
}