HTML Help .chm - Print error on compiled help when a mini TOC is in use
Hi all,
I thought I saw a thread about using the print function in compiled .chm causing an error, but I can't seem to find it. I wanted to add to the discussion, because I've isolated the issue a bit fuurther, and it seems to occur only when a mini TOC placeholder is in use in the project. A bug report was submitted some time ago, but I have submitted another to include these findings.
My environment: Windows 7 64-bit, Internet Explorer 9, RoboHelp 10.0.0.287
My findings.
1. Open the "Employee Care" sample project that ships with RoboHelp 10.
2. Compile the "Microsoft_HTML_Help_Location_Based_US" SSL and view the generated output.
3. In the compiled .chm output's TOC, right-click one of the TOC entries and select the "Print" menu option from the popup menu. The Print Topics dialog displays.
4. Select the "Print the selected heading and all subtopics" radio button and click the OK button.
5. The standard Windows "Print" dialog displays.
----^ This is the expected result. ^----
1. In the "Employee Care" sample project that ships with RoboHelp 10, open the "Introduction" topic and add a mini TOC to the top of it (Insert --> Placeholder --> Topic TOC). Accept the default settings when adding the mini TOC.
2. Compile the "Microsoft_HTML_Help_Location_Based_US" SSL and view the generated output.
3. In the compiled .chm output's TOC, right-click one of the TOC entries and select the "Print" menu option from the popup menu. The Print Topics dialog displays.
4. Select the "Print the selected heading and all subtopics" radio button and click the OK button.
5. A standard Windows "Webpage Error" dialog displays. The error displayed is as follows:
"Line: 49
Error: The value of the property 'TextPopupInit' is null or undefined, not a Function object"
You can click No (don't debug) to dismiss the error and display the standard Windows "Print" dialog like in the first scenario above, but the error has already popped and the clients don't like it.
I only see this issue when a mini TOC is added to any topic in any project. I've made Firefox my default browser and the problem remains.
