Dont return that a caution/note 'IsHigh' if off a section

This commit is contained in:
Kathy Ruffing 2013-07-25 13:24:34 +00:00
parent 98d8a174fb
commit bd536387b3

View File

@ -1096,6 +1096,9 @@ namespace VEPROMS.CSLA.Library
if (MyContent.Type / 10000 != 2) return false;
ItemInfo parent = ActiveParent as ItemInfo;
if (parent == null) return false;
// IsHigh was returning true if this item is a caution or note off of a section..
// from the (parent.MyContent.Type / 1000) == 1.
if (IsCaution || IsNote) return false;
if ((parent.MyContent.Type / 10000) == 1)
return true;
return false;