This commit is contained in:
Kathy Ruffing 2012-02-15 14:59:24 +00:00
parent 4e2d6e5089
commit 692ad86616

View File

@ -1971,9 +1971,18 @@ namespace VEPROMS.CSLA.Library
set set
{ {
if (_MyConfig == null) return; if (_MyConfig == null) return;
_MyConfig = null;
//MyContent.Config = value; //MyContent.Config = value;
} }
} }
public void RefreshConfig()
{
string key = ItemID.ToString();
ConvertListToDictionary();
if (_CacheByPrimaryKey.ContainsKey(key))
foreach (ItemInfo tmpInfo in _CacheByPrimaryKey[key])
tmpInfo.MyConfig = null;
}
//public bool HasStandardSteps() //public bool HasStandardSteps()
//{ return MyContent.ContentItemCount > 1; } //{ return MyContent.ContentItemCount > 1; }
public Color ForeColor public Color ForeColor
@ -2564,7 +2573,7 @@ namespace VEPROMS.CSLA.Library
// the section default. // the section default.
SectionConfig sc = ActiveSection.MyConfig as SectionConfig; SectionConfig sc = ActiveSection.MyConfig as SectionConfig;
if (sc == null) return false; if (sc == null) return false;
if (sc.Section_CheckoffHeaderSelection <= 0) return false; if (sc.Section_CheckoffHeaderSelection < 0) return false;
return true; return true;
} }
private int CheckOffIndex() private int CheckOffIndex()