Skip to main content
am8254
Participating Frequently
August 2, 2019
Question

RH2019, Browser based Help Popup closes in Chrome/Firefox

  • August 2, 2019
  • 0 replies
  • 174 views

Hello,

Adding more info to the question Re: RH2019, Browser based Help Popup closes in Chrome.

It seems there in a bug in Robo help. I reproduced this bug using simple HTML/JavaScript. Every time on click of other link, popup help window is closes in Chrome.

Following are the steps to reproduce;

  1. See the code for testRoboHelp.jsp and other.html
  2. Go to testRoboHelp.jsp.
  3. Click link "Robo Help" , a popup Help window is open.
  4. Click link "Other" .  Help window is closed, user is navigated to other page.

testRoboHelp.jsp

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"

pageEncoding="ISO-8859-1"

%>

<!DOCTYPE html>

<html>

<head>

<meta charset="ISO-8859-1">

<title>Test RoboHelp</title>

<script type="text/javascript" src="js/RoboHelp_CSH.js"></SCRIPT>

</head>

<body>

<div>

  <a href="#" onclick="clickHelp()"> Robo Help</a>

</div>

<div>

  <a href="javascript:void(0)" onclick="clickOther()"> Other </a>

</div>

<script>

    function clickHelp() {

      var robohelpLocation = 'help/help.htm';       

      var HH_DISPLAY_TOC = 1;

      var helpCommand = HH_DISPLAY_TOC;   

      var hParent = 0;                                                     // Reserved - Use 0

      var strHelpPath  = robohelpLocation;          // Path to help system start page

      var strCategory = false;                                     // Content Category defined in AIR SSL Dialog

      var strWnd = '';                                                    // Name of custom window

      var uCommand = helpCommand;                             // Command to display help

      var nMapId = 0 ;                                                     // Map ID associated with the topic to open (if using HH_HELP_CONTEXT), otherwise 0   

      RH_Show_BrowserBasedHelp(hParent, strHelpPath, strCategory,strWnd, uCommand, nMapId) ;

    }

   

    function clickOther(){

      location.href = "other.html";

    }

  </script>

</body>

</html>

other.html

<!DOCTYPE html>

<html>

<head>

<meta charset="ISO-8859-1">

<title>Other Page</title>

</head>

<body>

  Other page

</body>

</html>

Please let us know is there any fix/workaround, so that the popup remains open in chrome even if we move to a different parent page.

This topic has been closed for replies.