This commit is contained in:
John Jenko 2011-06-22 18:00:28 +00:00
parent 85d4b1fafa
commit a9d012651a

View File

@ -1108,7 +1108,10 @@ namespace VEPROMS
E_ROValueType.Table : (SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyItemInfo.IsFigure) ? E_ROValueType.Image : E_ROValueType.Text;
}
else
{
SelectedDVI = args.MyItemInfo.ActiveParent.ActiveParent as DocVersionInfo;
displayRO.ROTypeFilter = E_ROValueType.All; // allow all RO types for Word attachments (but fix)
}
}
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem);
AnnotationPanelView();
@ -1478,6 +1481,11 @@ namespace VEPROMS
{
_panelExpandedChanging = false;
expandableSplitter3.Enabled = infoPanel.Expanded;
// if our active tab is a Word attachment, call the Click even on the RO tab
// to ensure that the RO FST is loaded. This fixes a bug where if the first thing you
// open is a Word attachment, the RO panel would not have the RO's listed.
if (infoPanel.Expanded && _CurrentItem.HasWordContent)
infotabRO_Click(sender, e);
}
#endregion