Javascript function error
I'm receiving two JavaScript errors in my compiled Help project:
1. The value of the property 'registerListener' is null or undefined, not a function object
2. Object doesn't support property or method 'trim'
Using: RoboHelp 2017, HTML - compiling as WebHelp.
Background: Each year I edit the header/footer file and update the year, then recompile and republish the project to our server. I installed a new version of RoboHelp this year, and evidently hadn't worked in the project until I went in to update the year, so I was prompted to upgrade the project (which I did). I'm not sure if the upgrade caused the issues but it seems suspicious. After publishing, the javascript errors started.
#1
At first, we were receiving the error 'gbAIRSSL' is undefined. A coder reviewed the error and asked me to insert this line (var gbAIRSSL=false;) in the header of whver_nc.js file. It fixed the original issue but created the registerListener issue.
#2
From our Help menu in the program, we have a few single topics listed for direct access to them (licensing, about, etc.). On each of those topics is a Show link that opens the main Help project (TOC, index, etc.). When the Show link is clicked, the Object doesn't support property error appears.
You can click No to running additional scripts on each of these errors and the requested topic/main project will open, but we'd like to have that happen without the errors.
Any help would be appreciated!
