Hi,
I have a problem with MochiKit.Signal in IE 6.
When I leave a page that uses MochiKit.Signal (even if it's just
included not really used) i get the error: "Object 'length' is null or
..." (Freely translated from German error message).
This is the corresponding code where the error happens:
Signal.js:
_unloadCache: function () {
var self = MochiKit.Signal;
var observers = self._observers;
for (var i = 0; i < observers.length; i++) {
-----------------------------------------------^ that's the bad boy
self._disconnect(observers[i]);
}
Some hints that I can come up with:
- It works on FF and IE 7
- Tests are passing
- Fails with some earlier version from SVN trunk and current SVN trunk
- I'm also using MochiKit.Sortable
- MochiKit.Signal._observer seems to disappear too early. But the
unload method seems not to be called twice.
Thanks for any help in advance,
Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---