Change Manager
This commit is contained in:
@@ -564,16 +564,21 @@ namespace Volian.Controls.Library
|
||||
// create the usage for it. this code gets run on modify of the ro table and also
|
||||
// on exit of the griditem. We don't want to save the ro usage again, if it's already
|
||||
// been saved.
|
||||
if (MyFlexGrid.IsRoTable && MyFlexGrid.ROID != null && itm.MyContent.ContentRoUsageCount < 1)
|
||||
{
|
||||
searchableText = string.Format(@"\v<START]\v0 {0} \v {1}[END>\v0 ", searchableText, DoLinkForRoTable());
|
||||
//if (itm.MyContent.Text != searchableText)
|
||||
//{
|
||||
if (MyFlexGrid.IsRoTable && MyFlexGrid.ROID != null && itm.MyContent.ContentRoUsageCount < 1)
|
||||
{
|
||||
searchableText = string.Format(@"\v<START]\v0 {0} \v {1}[END>\v0 ", searchableText, DoLinkForRoTable());
|
||||
//if (itm.MyContent.Text != searchableText)
|
||||
//{
|
||||
itm.MyContent.Text = searchableText;
|
||||
itm.MyContent.DTS = DateTime.Now;
|
||||
//}
|
||||
}
|
||||
if (!MyFlexGrid.IsRoTable)itm.MyContent.Text = searchableText;
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
itm.MyContent.Text = searchableText;
|
||||
itm.MyContent.DTS = DateTime.Now;
|
||||
}
|
||||
if (!MyFlexGrid.IsRoTable)itm.MyContent.Text = searchableText;
|
||||
itm.Save();
|
||||
MyItemInfo.MyContent.MyGrid.ResetContent(itm.MyContent.MyGrid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user