• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do I save an edited JavaScript file?

Community Beginner ,
Feb 08, 2016 Feb 08, 2016

Copy link to clipboard

Copied

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.

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 09, 2016 Feb 09, 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

Votes

Translate

Translate
LEGEND ,
Feb 09, 2016 Feb 09, 2016

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 10, 2016 Feb 10, 2016

Copy link to clipboard

Copied

LATEST

The first solution worked.  Thank you very much.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp