This commit is contained in:
parent
0fd73b164d
commit
edd5793f18
@ -285,6 +285,9 @@ namespace VEPROMS.CSLA.Library
|
||||
// Refresh ItemInfo to update PreviousID field
|
||||
if (tmp.NextItem != null) using (Item item = tmp.NextItem.Get()) ItemInfo.Refresh(item);
|
||||
RefreshNextItems();
|
||||
// if inserting after a caution or note, refreshes tabs. This will adjust bullets
|
||||
// of any previous cautions or notes.
|
||||
if (tmp.IsCaution || tmp.IsNote) ResetOrdinal();
|
||||
// Update all of the content records that have transitions that point to the Siblings or Sibling Children of the new item
|
||||
tmp.UpdateTransitionText();
|
||||
OnNewSiblingAfter(new ItemInfoInsertEventArgs(tmp, EAddpingPart.After));
|
||||
@ -657,7 +660,10 @@ namespace VEPROMS.CSLA.Library
|
||||
nextItem.UpdateTransitionText();
|
||||
}
|
||||
else if (prevItem != null)
|
||||
{
|
||||
prevItem.RefreshNextItems();
|
||||
if (prevItem.IsCaution || prevItem.IsNote) prevItem.ResetOrdinal();
|
||||
}
|
||||
ItemInfo.DeleteItemInfoAndChildren(item.ItemID); // Dispose ItemInfo and Children
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Loading…
x
Reference in New Issue
Block a user