Copy link to clipboard
Copied
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;
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.
Have something to add?