B2019-017: Do not create enhanced step for an RNO

This commit is contained in:
Kathy Ruffing 2019-05-07 12:59:47 +00:00
parent a0461e9a7a
commit 27944c837d

View File

@ -1558,7 +1558,9 @@ namespace Volian.Controls.Library
if (scfg.Section_LnkEnh != "Y") return; if (scfg.Section_LnkEnh != "Y") return;
cfgeds = scfg.MyEnhancedDocuments; cfgeds = scfg.MyEnhancedDocuments;
} }
else // B2019-017: Add check for caution & note, only add enahnced step for those types. Note that procedure is done from tree and section
// is done from code above. HLS are not added as children, so are not added here.
else if (fromType == E_FromType.Caution || fromType == E_FromType.Note)
{ {
StepConfig sc = new StepConfig(MyItemInfo.MyContent.Config); StepConfig sc = new StepConfig(MyItemInfo.MyContent.Config);
cfgeds = sc.MyEnhancedDocuments; cfgeds = sc.MyEnhancedDocuments;