Skip to main content
debrah76718398
Known Participant
February 8, 2016
Answered

How do I save an edited JavaScript file?

  • February 8, 2016
  • 1 reply
  • 1174 views

This is my first day working with RoboHelp HTML.  I've read some of the documentation, but I cannot find how to get an edited script file's changes to save after generation.  When we launch the generated Help, a popup box appears with this message: "The webpage you are viewing is trying to close the window. Do you want to close the window?".   I can fix the problem of by adding this line of JavaScript code: "window.open('', '_self', '');"  after line 174 in the loadcsh.js script.  The problem is that this file gets overwritten every time the project is generated.

This topic has been closed for replies.
Correct answer Willam van Weelden

You'll want to update the seed files. There are located in C:\Program Files (x86)\Adobe\Adobe RoboHelp 2015\RoboHTML\ResponsiveHelpExt\widgets\common\scripts (Assuming you are using Responsive HTML5 output)

But in this case, you can also change the CSH call of your application to avoid the popup. See: http://www.wvanweelden.eu/articles/context-sensitivity-responsive-and-multiscreen-html5

1 reply

Willam van Weelden
Willam van WeeldenCorrect answer
Inspiring
February 9, 2016

You'll want to update the seed files. There are located in C:\Program Files (x86)\Adobe\Adobe RoboHelp 2015\RoboHTML\ResponsiveHelpExt\widgets\common\scripts (Assuming you are using Responsive HTML5 output)

But in this case, you can also change the CSH call of your application to avoid the popup. See: http://www.wvanweelden.eu/articles/context-sensitivity-responsive-and-multiscreen-html5

debrah76718398
Known Participant
February 10, 2016

The first solution worked.  Thank you very much.