Use config data to determine whether a step is enhanced rather than format flag EnhancedLinkedStep
Remove EnhancedLinkedStep format flag Remove unnecessary comments
This commit is contained in:
1 parent
8a43e3d5dc
commit
7f38f14657
3 files changed
+5
-9
No files matched your search
@@ -1960,11 +1960,9 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if (FormatStepData != null)
|
||||
{
|
||||
E_AccStep? actable = FormatStepData.StepEditData.AcTable;
|
||||
return (actable != null && MyActiveSection != null && MyActiveSection.IsEnhancedSection && ((actable & E_AccStep.EnhancedLinkedStep) != 0));
|
||||
}
|
||||
if (!IsStep) return false;
|
||||
StepConfig sc = MyConfig as StepConfig;
|
||||
if (sc.MyEnhancedDocuments != null && sc.MyEnhancedDocuments.Count == 1 && sc.MyEnhancedDocuments[0].Type == 0) return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user