DITA WebHelp Classic - Window title display topic title as undefined
Posted: Wed Feb 10, 2021 5:32 pm
Hello,
i have an issue with publishing a ditamap to WebHelp Classic, when displayed in Firefox,
the window title is showing "{correct ditamap title} - undefined"
The "undefined" should be the active selected topic title text.
Cornered the cause in toc_driver.js, with code that rewrites the page title
This appears to be only a Firefox issue,
in Chrome and Edge it displays only the ditamap title part; no " - {anything}" after, which is not so correct,
and eventually in "old" Internet Explorer, it works as it should with the display of "{ditamap title} - {topic title}"!
My guess would be the latest restriction in browser, on script prevented access to frame content!?
Or am i missing something else, as i am surprised that i didn't find any report of this obvious buggy display, overhere... or maybe not so much people publish to Webhelp Classic, and/or view result on Firefox ^^)
Thanks for your attention,
Fabrice
i have an issue with publishing a ditamap to WebHelp Classic, when displayed in Firefox,
the window title is showing "{correct ditamap title} - undefined"
The "undefined" should be the active selected topic title text.
Cornered the cause in toc_driver.js, with code that rewrites the page title
Code: Select all
$("title").html($("title").attr("title") + " - " + $("#frm").contents().find("title").html());
in Chrome and Edge it displays only the ditamap title part; no " - {anything}" after, which is not so correct,
and eventually in "old" Internet Explorer, it works as it should with the display of "{ditamap title} - {topic title}"!
My guess would be the latest restriction in browser, on script prevented access to frame content!?
Or am i missing something else, as i am surprised that i didn't find any report of this obvious buggy display, overhere... or maybe not so much people publish to Webhelp Classic, and/or view result on Firefox ^^)
Thanks for your attention,
Fabrice