From ce4d28e0b9f86e9ad7a39fd525edf58f78b03df9 Mon Sep 17 00:00:00 2001 From: Rich Date: Mon, 11 Jan 2010 22:17:52 +0000 Subject: [PATCH] Refresh ContentInfo objects for any impacted by transition changes This fixes a bug that if the contentInfo was not refreshed, it was not able to be edited. This also causes ContentInfo's with Annotations to have the background color changed. --- PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs index ed54912d..43bd6090 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs @@ -321,6 +321,8 @@ namespace VEPROMS.CSLA.Library content.FixTransitionText(tran); if (content.IsDirty) content.Save(); + else // Update ContentInfo objects to reflect the change in the transition + ContentInfo.Refresh(content); } } }