Fixed Stored Procedure getAnnotationAuditsChronologyByItemID

Fixed Approved Method to Update Content and Item at the same time
Force History tab to be cleared when a procedure is deleted
This commit is contained in:
Rich
2012-04-04 19:06:06 +00:00
parent 4d24f93f3a
commit 74097dc316
3 changed files with 103 additions and 3 deletions

View File

@@ -368,7 +368,7 @@ namespace VEPROMS
}
private bool tv_DeleteItemInfo(object sender, vlnTreeItemInfoEventArgs args)
{
if (displayHistory.MyEditItem != null && displayHistory.MyItemInfo.ItemID == args.MyItemInfo.ItemID)
if (displayHistory.MyEditItem != null && displayHistory.MyItemInfo.MyProcedure.ItemID == args.MyItemInfo.ItemID)
displayHistory.MyEditItem = null;
return tc.DeleteRTBItem(args.MyItemInfo);
//if (si == null) return false;