From fe808c0ca1b49cf2d860d5da5fcf2e777c616d32 Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 8 Feb 2011 11:19:53 +0000 Subject: [PATCH] --- PROMS/DataLoader/TransitionFixer.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PROMS/DataLoader/TransitionFixer.cs b/PROMS/DataLoader/TransitionFixer.cs index 849a31cb..c5efae0e 100644 --- a/PROMS/DataLoader/TransitionFixer.cs +++ b/PROMS/DataLoader/TransitionFixer.cs @@ -78,7 +78,7 @@ namespace DataLoader foreach (ItemInfo item in myList) { Status = string.Format("Processing {0} of {1} steps", ++i, myList.Count); - MyStepRTB.ViewRTB = false; + //MyStepRTB.ViewRTB = false; string originalText = item.MyContent.Text; string updatedText = item.MyContent.Text; // Exclude items that are not connected (Dummy steps for invalid transition destinations) @@ -108,7 +108,8 @@ namespace DataLoader if (checkRTF) { MyStepRTB.MyItemInfo = item; - MyStepRTB.SaveText(true); // Force Save - This will put change bars on everything + // Force Save - This will put change bars on everything + if (MyStepRTB.Text.Contains("(Resolved Transition Text)") != false) MyStepRTB.OrigDisplayText.Save(MyStepRTB); string afterText = item.MyContent.Text; // aftertext is 'newrtf' if (afterText != updatedText)