Fix to the TagPanel not to fail if it is expanded
Only refresh list if visible Removed debugging Fixed report to work with MSWord Section changes
This commit is contained in:
parent
792351c922
commit
0a434b92b2
@ -1520,7 +1520,7 @@ namespace VEPROMS
|
||||
// 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)
|
||||
if (infoPanel.Expanded && _CurrentItem != null && _CurrentItem.HasWordContent)
|
||||
infotabRO_Click(sender, e);
|
||||
}
|
||||
#endregion
|
||||
|
@ -816,7 +816,7 @@ namespace Volian.Controls.Library
|
||||
|
||||
private void DisplayHistory_VisibleChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.RefreshList();
|
||||
if(this.Visible)this.RefreshList();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4500,14 +4500,6 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
public class GridCopyInfo
|
||||
{
|
||||
private int _Bozo = 5;
|
||||
[XmlIgnore]
|
||||
public int Bozo
|
||||
{
|
||||
get { return _Bozo; }
|
||||
set { _Bozo = value; }
|
||||
}
|
||||
|
||||
private GridCopyOption _MyCopyOption = GridCopyOption.Selection;
|
||||
|
||||
public GridCopyOption MyCopyOption
|
||||
|
@ -205,7 +205,7 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in AuditList)
|
||||
{
|
||||
//raw path
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[0] != section)
|
||||
{
|
||||
section = NewPath[0];
|
||||
@ -536,14 +536,14 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in AuditList)
|
||||
{
|
||||
if(cai.ContentID == contentID)
|
||||
return Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
return Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
}
|
||||
ItemInfoList iil = ItemInfoList.GetByContentID(contentID);
|
||||
if (iil.Count > 0)
|
||||
{
|
||||
return Regex.Replace(iil[0].SearchPath, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
return Regex.Replace(iil[0].SearchPath + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
}
|
||||
return "obozo\x7obiden".Split("\x7".ToCharArray());
|
||||
return "Section\x7Step".Split("\x7".ToCharArray());
|
||||
}
|
||||
private void BuildSummaryReport2(iTextSharp.text.Document doc)
|
||||
{
|
||||
@ -555,7 +555,7 @@ namespace Volian.Print.Library
|
||||
List<ContentAuditInfo> auditList = new List<ContentAuditInfo>();
|
||||
foreach (ContentAuditInfo cai in AuditList)
|
||||
{
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[1] != stepnum)
|
||||
{
|
||||
stepnum = NewPath[1];
|
||||
@ -680,7 +680,7 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in auditList)
|
||||
{
|
||||
//raw path
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[0] != section)
|
||||
{
|
||||
section = NewPath[0];
|
||||
@ -787,7 +787,7 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (cai.ContentID == aai.IContentID)
|
||||
{
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[1] != stepnum)
|
||||
{
|
||||
stepnum = NewPath[1];
|
||||
@ -1017,7 +1017,7 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in auditList)
|
||||
{
|
||||
//raw path
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[0] != section)
|
||||
{
|
||||
section = NewPath[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user