commented out test coding to save for now.
use the ordinal step number instead of the step tab if the transition is to a non-numbered step added bool to track if the new transition is to a non-numbered step
This commit is contained in:
@@ -409,7 +409,22 @@ namespace VEPROMS.CSLA.Library
|
||||
toItem.ItemID==rangeItem.ItemID && !toItem.IsHigh?toItem.LastSibling:rangeItem);
|
||||
if(_AppendMethods==null)
|
||||
SetupMethods();
|
||||
return BuildString(tb);
|
||||
string retval = BuildString(tb);
|
||||
if (retval == string.Empty)
|
||||
{
|
||||
retval = toItem.Ordinal.ToString();
|
||||
if (fromInfo.MyContent.Text.Contains("<CTID="))
|
||||
fromInfo.NewTransToUnNumberedItem = true;
|
||||
//Volian.Base.Library.vlnStackTrace.ShowStackLocal("Setting Flag", 3, 10);
|
||||
//using (Item itm = fromInfo.Get())
|
||||
//{
|
||||
// ItemAnnotation ia = itm.ItemAnnotations.Add(AnnotationType.GetByName("Verifcation Required"));
|
||||
// ia.SearchText = "Transition to Un-Numbered Step";
|
||||
//itm.Save();
|
||||
//}
|
||||
}
|
||||
return retval;
|
||||
|
||||
}
|
||||
private static TransitionBuilder SetupTransitionBuilder(FormatInfo formatInfo, ItemInfo fromInfo, int tranType, ItemInfo toItem, ItemInfo rangeItem)
|
||||
{
|
||||
|
Reference in New Issue
Block a user