Skip to main content
June 25, 2010
Question

Script error when launching CS Help if same help window is already open

  • June 25, 2010
  • 1 reply
  • 623 views

Mostly, I am enjoying using RoboHelp 8. Anyone else seeing this? This error occurs when the Context-sensitive help window (CS_remote) is already open, and the user presses F1 again.

If you click "Yes" here you end up with one empty about:blank window. It seems like the script gets as far as replacing the existing window contents with a blank window and then chokes.

Here is the code at that location in the script:

     if(gbIE5)
     {
      var curWnd = null;
      curWnd = window.open("about:blank",sNewName,strOpt);
      if(curWnd)
      {
      curWnd.document.location.href = "about:blank";
      }
      goNewWnd=window.open(sURL,sNewName);
     }
     else
     {
      gsURL = sURL; // IE4 had hard time to handle bookmark.
      goNewWnd=window.open("about:blank",sNewName,strOpt);
     }
     setTimeout("postWindowOpen();",100);
    }

I am using RoboHelp 8.0.2.208 to generate WebHelp Pro. I'm viewing it with IE8.

I'm hoping there is a tweak to whcsh_home.htm that will fix this.

Jeanne

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

October 12, 2010

Finally found that this page (item #1) has the answer. The culprit is the whcsh_home.htm file. This has not been fixed in RH 8.02. The file posted on that page fixes the problem for me.