Skip to main content
Tejas Dandekar
Inspiring
November 15, 2018
Question

Rh2017 - webhelp toc does not expand in chrome v70

  • November 15, 2018
  • 1 reply
  • 1428 views

Hi All,

Earlier with webhelp output in rh2017 there was an issue with the toc not expanding and collapsing. The fix was updating this string:

sText = sText.replace("\n", "");

to

sText = sText.replace(/\n/g, "");

in the whthost.js file.

I tried that but the issue still persists. Chrome latest version now is 70.

Is there any other fix to be done to get the toc expand and collapse in a webhelp output?

This topic has been closed for replies.

1 reply

Known Participant
December 4, 2018

Our WebHelp system (via RoboHelp 2017) works fine in IE 11, but our application now must be fully functional on latest Chrome.  Our help is context-sensitive, but we need to have our link to the full help viewer working.  We have the same problem with Chrome in the TOC pane - the "books" are there, but the TOC does not expand or collapse in WebHelp in Chrome.  So our help system is now not fully functional.

I will try the change referenced above for the whthost.js file, to see if that helps.  If it doesn't, I will be in same dilemma as my fellow RH user in the above post. 

Any RH experts have any more ideas to help us here??

Thanks!

Susan Tabnik

Jeff_Coatsworth
Community Expert
Community Expert
December 4, 2018

Have you applied the second patch for RH2017? I thought that Chrome TOC fix was included in it.

Known Participant
December 7, 2018

I applied the second patch yesterday.  Then re-generated WebHelp on 2 of the help systems.  I checked in our installation today which should have picked up those 2 updated WebHelps, and I am still seeing the problem in Chrome.  Only happening when help is opened from within our applications, so from a web server.  (If I open it directly from a local drive, it seems to function fine in Chrome for that TOC issue.)  I will keep checking this, as the build for the installation could have possibly not picked up my latest changes.

This is context-sensitive help, so the web server calls a specific HTM in the WebHelp folder. Several times I clicked the Show button on the open help topic, and the TOC was expanded with that topic highlighted in the TOC.  But I'm not yet sure why the Show opens like that sometimes but not every time. Mostly, the TOC is "collapsed" and won't expand when I click a "book".

One other thing that may affect this - I realized that I had NOT applied the first patch for RH2017. So, maybe I need to re-do these patches.

Thanks so much for your help here.  Open for more suggestions!

Susan