Additional logic added to try and find a step editor section that could be the default step section, when one was not set.
This commit is contained in:
@@ -941,6 +941,11 @@ namespace Volian.Controls.Library
|
|||||||
if (sit.DisplayText.ToUpper().Contains("PROCEDURE STEPS"))
|
if (sit.DisplayText.ToUpper().Contains("PROCEDURE STEPS"))
|
||||||
return sit.ItemID;
|
return sit.ItemID;
|
||||||
}
|
}
|
||||||
|
foreach (SectionInfo sit in prcitm.Sections)
|
||||||
|
{
|
||||||
|
if (sit.DisplayText.ToUpper().Equals("PROCEDURE"))// bug fix: B2015-003
|
||||||
|
return sit.ItemID;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 4) Format has flag that a default section is not required so return 1st section.
|
// 4) Format has flag that a default section is not required so return 1st section.
|
||||||
if (prcitm.Sections != null)
|
if (prcitm.Sections != null)
|
||||||
|
Reference in New Issue
Block a user