Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Summary_list
Task1The problem
Task2The solution
Task3More information

HTML
 <a id="The problem"></a>

The problem

Firefox 8, released in November 2011, has decided to make contextMenu a reserved word when creating HTML5-style context-sensitive menus.

...

Therefore, we have changed the identifier in the product's content to use dirContextMenu instead of contextMenu. If you are using a version of TIM Enterprise earlier than 3.0.0.77 you will need to make some changes to your web content, located in the {Program Files}\Tri-Line\TIM Enterprise\ssldata\ folder.

HTML
 <a id="The solution"></a>

The solution

Upgrade to at least version 3.0.0.77 where this change has already been made to the default content.

...

The following changes need to be made to these files:

Code Block
languagejavascript
Search for:
    function contextMenu(strID, evt, fromFind) {
 
Replace with:
    function dirContextMenu(strID, evt, fromFind) {
Code Block
languagejavascript
Search for:
    strOut.append("' onclick=\"contextMenu('");
 
Replace with:
    strOut.append("' onclick=\"dirContextMenu('");
Code Block
languagejavascript
Search for:
    strOut.append("', event)\" oncontextmenu=\"contextMenu('");
 
Replace with:
    strOut.append("', event)\" oncontextmenu=\"dirContextMenu('");
Code Block
languagejavascript
Search for:
    strOut.append("' onclick=\"highLight = this.id;contextMenu('");
 
Replace with:
    strOut.append("' onclick=\"highLight = this.id;dirContextMenu('");
Code Block
languagejavascript
Search for:
    strOut.append("', event, true);\" oncontextmenu=\"highLight = this.id;contextMenu('");
 
Replace with:
    strOut.append("', event, true);\" oncontextmenu=\"highLight = this.id;dirContextMenu('");

...