upgrade issue

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
p-feenstra
Posts: 4
Joined: Tue Nov 09, 2021 11:04 am

upgrade issue

Unread post by p-feenstra »

Hi,

after upgrading from v5 to v8 I imported my old projects and compiled it into new Help files. (chm)
But when opening the new help file it generates an error.
The error message is:
'addEventListener is not supported for this object'.

Have I missed something?

Regards Piet
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: upgrade issue

Unread post by Tim Green »

Hi Piet,

This is happening because you are using an older skin and Help+Manual is now including a newer version of the jQuery JavaScript framework with better security. Because of this, your skin needs to be "elevated" to use the current HTML and JavaScript rendering engine in CHM. Solutions:

1) Use one of the CHM skins included with Help+Manual 8
These all have the necessary elevation and will not cause this issue.

OR

2) Edit the setting in your CHM skin to elevate it to the current version:

1. Open your .hmskin file in Help+Manual and in the Project Explorer on the left, navigate down to Configuration > HTML Page Templates > Default

2. Locate this line of code at the top of the template:

Code: Select all

<IF_HTML><meta http-equiv="X-UA-Compatible" content="IE=edge" /></IF_HTML><IF_CHM>
   <meta http-equiv="X-UA-Compatible" content="IE=8" /></IF_CHM>
It may look slightly different in your skin or may not be there at all. You need to delete both lines and replace them with just this single line, without any <IF_ tags around it:

Code: Select all

<meta http-equiv="X-UA-Compatible" content="IE=edge" />
If the lines are not there at all, just enter this line directly after one of the other <meta... tags towards the top of the template code.

That will fix the problem.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
p-feenstra
Posts: 4
Joined: Tue Nov 09, 2021 11:04 am

Re: upgrade issue

Unread post by p-feenstra »

Hi Tim,

Thank you very much for the quick response.
And ofcourse it worked!

Regards Piet
Post Reply