1 Reply Latest reply on Oct 13, 2010 7:17 AM by TechDoc Jeanne

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

    TechDoc Jeanne

      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.

      RoboHelp_CS_script_error.png

      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