#65 ✓resolved
Kevin D

IE onUnload error,

Reported by Kevin D | August 3rd, 2009 @ 05:34 PM | in 1.0

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.

Comments and changes to this ticket

  • Julian D.

    Julian D. October 21st, 2009 @ 01:10 AM

    • 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?

  • Nathan L Smith

    Nathan L Smith October 21st, 2009 @ 08:13 PM

    • State changed from “new” to “resolved”

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

NOTE: Please do not open tickets here. If you have an issue, please open it on http://github.com/syntacticx/livepipe-ui/issues/

High quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. MIT licensed and actively maintained.

Attachments

Pages