Weird behavior with JS hyperlink

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Weird behavior with JS hyperlink

Post by Ineffable »

I use Javascript hyperlinks in my HTML5 outputs, which open a new window and initiate a search on one of our other cross-domain websites. I essentially append the part number they click on onto a URL with a JSP search page on the other end.

In Safari, this works fine. However, in IE and FF on W7, the page in my output that contains the links goes blank and simply displays

Code: Select all

[object]
when the user returns to it after viewing the resulting new window and search results. Refreshing the browser page brings things back to normal.

I did a little snooping using the Developer Tools in IE 10 (I also tried IE 9, 8, and 7 - same behavior), and there is an error being thrown that points to a line in MadCapUtilities.js, which reads:

Code: Select all

        if (otherUrl.IsAbsolute) {
            throw new MadCap.Exception(-1, "Cannot combine two absolute paths.");
        }
Can anyone shed any light, please?
Post Reply