Summary_list | ||||||
---|---|---|---|---|---|---|
|
HTML |
---|
<h2>The problem</h2> <p>Firefox 8, released in November 2011, has decided to make <span class="keyword">contextMenu</span> a reserved word when creating HTML5-style context-sensitive menus.</p> <p>Unfortunately, TIM Enterprise already used this identifier before Firefox was changed, such that the Directory's pop-up menu no longer appears as expected.</p> <p>Therefore, we have changed the identifier in the product's content to use <span class="keyword">dirContextMenu</span> instead of <span class="keyword">contextMenu</span>. If you are using a version of TIM Enterprise earlier than <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. Unfortunately, TIM Enterprise already used this identifier before Firefox was changed, such that the Directory's pop-up menu no longer appears as expected. 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.
...
If you are unable to upgrade to TIM Enterprise 3.0.0.77
...
(for
...
example,
...
you
...
have
...
no
...
maintenance
...
contract)
...
then
...
it
...
is
...
recommended
...
that
...
you
...
either
...
temporarily
...
use
...
an
...
alternative
...
browser
...
or
...
change
...
the
...
following
...
code
...
within
...
the directory.js files.
The directory.js files are located by default in the following locations:
- C:\Program Files\Tri-Line\TIM
...
- Enterprise\ssldata\_admin\furniture\js\directory.
...
- js
- C:\Program
...
- Files\Tri-Line\TIM
...
- Enterprise\ssldata\_root\furniture\js\directory.
...
theme | Eclipse |
---|---|
linenumbers | true |
- js
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('"); |
HTML |
---|
<h2>More information</h2>
<p>Firefox 8 was publicly released on 8th November 2011. A new feature
was introduced for integration with the browser's HTML5 context menu.</p>
<p>The related release note from Mozilla's documents is: Added support for HTML5 context menus.</p>
<p>Full release notes for Firefox 8 are available <a href="http://www.mozilla.org/en-US/firefox/8.0/releasenotes/">here</a>.</p> |
<a id="More information"></a> |
More information
Firefox 8 was publicly released on 8th November 2011. A new feature was introduced for integration with the browser's HTML5 context menu.
The related release note from Mozilla's documents is
Referencemacro | ||
---|---|---|
|