Fix for Insert New Step

This commit is contained in:
Rich
2009-07-24 19:38:33 +00:00
parent 00d13a8dbc
commit 921b269a28
20 changed files with 880 additions and 550 deletions

View File

@@ -239,11 +239,14 @@ namespace VEPROMS.CSLA.Library
_DTS = tmp.DTS;
_UserID = tmp.UserID;
_DetailInfoExtension.Refresh(this);
if(_MyContent != null)
{
_MyContent.Dispose();// Dispose related value
_MyContent = null;// Reset related value
}
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyContent != null)
// {
// _MyContent.Dispose();// Dispose related value
// _MyContent = null;// Reset related value
// }
OnChange();// raise an event
}
public static void Refresh(ContentDetail tmp)
@@ -262,11 +265,14 @@ namespace VEPROMS.CSLA.Library
_DTS = tmp.DTS;
_UserID = tmp.UserID;
_DetailInfoExtension.Refresh(this);
if(_MyContent != null)
{
_MyContent.Dispose();// Dispose related value
_MyContent = null;// Reset related value
}
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyContent != null)
// {
// _MyContent.Dispose();// Dispose related value
// _MyContent = null;// Reset related value
// }
OnChange();// raise an event
}
public static DetailInfo Get(int detailID)