B2021-008: Refresh Transition Links delete transition record when no link in text
B2021-010: Incoming Transitions – Find & convert to text all including at selected item
This commit is contained in:
@@ -759,6 +759,17 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
// B2021-008: Delete the transition record if there is no link in the text
|
||||
if (mc.Count == 0 && itemInfo.MyContent.ContentTransitionCount > 0)
|
||||
{
|
||||
TranCheckCount++;
|
||||
TranFixCount++;
|
||||
if (itemInfo.MyContent.ContentTransitions != null)
|
||||
foreach (TransitionInfo ct in itemInfo.MyContent.ContentTransitions)
|
||||
Transition.Delete(ct.TransitionID);
|
||||
itemInfo.MyContent.RefreshContentTransitions();
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user