List Info

Thread: Looks like a bug with prototype 1.6; why?




Looks like a bug with prototype 1.6; why?
user name
2008-01-03 09:47:14
I have a really short page, basically it's XHTML 1.0
transitional,
with a title and a script link to prototype. I don't have
anything in
the body. I get this for line 3936 in the error console
(firefox 2.0)

Error: element.dispatchEvent is not a function
Source File: file:///h:/programs/web/prototype.js
Line: 3936

It's referring to the if branch around this area:

      if (document.createEvent) {
        element.dispatchEvent(event);
      } else {
        element.fireEvent(event.eventType, event);
      }

Can someone explain why this is happening?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )