Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

IE onUnload error,

#65

On exit from a page that is using LivePipe UI in IE an error will occur, "Object doesn't support this property or method".
Occurs on IE6, IE7, IE8.

I wish LivePipe was versioned, below is the download I got on 8/3/2009:
syntacticx-livepipe-ui-df8bca401514dd7ad8244988feaff5499bc2afe3

Using the latest Prototype.js 1.6.1_Rc3 causes this error, apparently there's a conflict w/ the destroyCache() function in livepipe.js and the _destroyCache() function is Prototype.

Commenting out the following line seems to alleviate this error:
-- livepipe.js (line 196)

if (window.attachEvent) {
   //window.attachEvent("onunload", destroyCache);
}

I recommend removing this destroyCache functionality since it appears to be a duplicate of Prototype's function and now conflicts.

Reported by Kevin D · August 3rd, 2009 @ 05:34 PM

State: resolved
Milestone: 1.0
Assigned to: Ryan Johnson Ryan Johnson

Activity

  1. Julian D.
    Julian D.
    • Tag changed from error, ie, ie6, ie7, ie8, onunload to error, event, ie, ie6, ie7, ie8, onunload, prototype

    Happens also with the final 1.6.1 release of Prototype.

    Another solution seems to be to change line #228 from

       element.stopObserving(eventName);
    
    to
       Event.stopObserving(element, eventName);
    

    This seems similar to an earlier bug with failing scroll events, if I remember correctly?

    October 21st, 2009 @ 01:10 AM

  2. Nathan L Smith
    Nathan L Smith
    • State changed from new to resolved

    destroyCache has been removed in e7afdf8, which should fix this issue.

    October 21st, 2009 @ 08:13 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.