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
  • 1432 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 12, 2018

I just spent some time with a very nice RoboHelp tech support person.  He also changed that whthost.js file, then I regenerated WebHelp and copied to our server.  However, the same problem was still there in Chrome when I clicked the Show link.  No expandable TOC!  He also said that there was no other JS file that can control that Show link.

My new friend told me that it seems to be a problem with our web server interacting with Chrome.  So my next stop is to one of our developers mostly in charge of web server stuff.  Even if I knew what the exact change would be and where - he would be the one to do it.

Still open to suggestions.  Peter - your article was very good, but I think it didn't quite address the unique setup here.

Thanks to all.

Susan


Update that may be helpful. We found out with the same steps I noted above (from the Show link, within our application), that  the TOC behaves correctly in Chrome version 56 but NOT in Chrome version 71. Very interesting - but not necessarily an answer, since we can't ask our system's users to use an older version of Chrome just to get the TOC to work! 

I am now experimenting with changing various options on the WebHelp generation window - such as turning off Synchronizing Table of Contents.  So far nothing has corrected the issue.

Still open to suggestions.  Appreciate everyone's help here.  My RH Tech Support ticket is still open from 2 days ago, so will call back and update with this info on versions of Chrome.

Susan