Summary_list |
---|
Task1 | The problem |
---|
Task2 | The solution |
---|
Task3 | More information |
---|
|
HTML |
---|
<a id="The problem"></a> |
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> |
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 |
---|
|
Search for:
function contextMenu(strID, evt, fromFind) {
Replace with:
function dirContextMenu(strID, evt, fromFind) { |
Code Block |
---|
|
Search for:
strOut.append("' onclick=\"contextMenu('");
Replace with:
strOut.append("' onclick=\"dirContextMenu('"); |
Code Block |
---|
|
Search for:
strOut.append("', event)\" oncontextmenu=\"contextMenu('");
Replace with:
strOut.append("', event)\" oncontextmenu=\"dirContextMenu('"); |
Code Block |
---|
|
Search for:
strOut.append("' onclick=\"highLight = this.id;contextMenu('");
Replace with:
strOut.append("' onclick=\"highLight = this.id;dirContextMenu('"); |
Code Block |
---|
|
Search for:
strOut.append("', event, true);\" oncontextmenu=\"highLight = this.id;contextMenu('");
Replace with:
strOut.append("', event, true);\" oncontextmenu=\"highLight = this.id;dirContextMenu('"); |
...