Note Power View Fix for TM15.1.1

Update - Oct. 9, 2016 - See this added step for fixing Power Views. More...

Time Matters has handy Power Views that display Note Records for a Matter or Contact.

By selecting the Note Power View from the drop-down above the Contact or Matter List or the Summary View on the Note List, you can see the text of the Notes:

In Time Matters 15.1.1, a bug causes the display of extraneous code and Note text at the end of each Note in the Power View.

The bug also garbles the view of a Note in TM Messenger when you send a link to a Note to another Time Matters user.

To fix these issues, edit these Power View files as described below.

To edit the Matter List Power View:

  1. In Notepad, open the file:
    \\TimeMattersShare\template\powerview\Matter\Note View(M).htm
  2. Near the end of the file insert Javascript code just before the /body tag.
<script type="text/javascript"/>
var find = /\{\\rtf.+\\par.+\}/gi;
document.body.innerHTML = document.body.innerHTML.replace(find, '');
</script>

To edit the Contact List Power View:

  1. In Notepad, open the file:
    \\TimeMattersShare\template\powerview\Contact\Note View(C).htm
  2. Make the same change as above.

To edit the Note List Power View:

  1. In Notepad, open the file:
    \\TimeMattersShare\template\powerview\Note\Summary View(N).htm
  2. Make the same change as above.

To edit the Message Note Power View:

  1. In Notepad, open the file:
    \\TimeMattersShare\template\powerview\Messenger\Message_N.HTM
  2. Make the same change as above.

Note: In the above examples, \\TimeMattersShare is the Shared Files Directory found in the Time Matters Main Menu / File / Utilities / File Locations

The Javascript code suppresses the unwanted code and text that would otherwise appear after the Note text in the Power Views.

A tip of the hat to Adam Bass (adam at mcwhirterlaw com) in South Carolina for creating this fix!

We expect that the next release of Time Matters will correct the issue. This modification should be compatible with any update.