Subj : Re: Strange problems with function objects & event listeners To : netscape.public.mozilla.jseng,netscape.public.dev.xul From : Neil Date : Wed Sep 28 2005 01:14 pm Lev Serebryakov wrote: >Additional information: > > Even > >var func = function( event ) { myext_initUI( event ); }; >window.addEventListener( "load", func, false ); > > Doesn't work (works, but cause same error: other "load" listeners are not called!). > > And it is very bad, because there are no way to delete listener when it is anonymous function. > > utilityOverlay.js has no issue, but then maybe because it doesn't try to delete the listener? -- Warning: May contain traces of nuts. .