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

How do I save an edited JavaScript file?

  • February 8, 2016
  • 2 replies
  • 1176 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 is closed to new replies. Start a new post to keep the conversation going.
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

2 replies

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.