Re: [Rails-spinoffs] Problem with prototype Event class and IE

2006-08-12 Thread Tom Gregory
It's not Prototype's problem. IE doesn't pass the event object to the handler function like Firefox (or pretty much any other browser). You can get around it in a couple of ways: 1. Check for the event object at the top of your function, if it's not there, grab window.event. function (evt) {

Re: [Rails-spinoffs] Problem with prototype Event class and IE

2006-08-09 Thread Tim Bellinghausen
Hi, Am Mittwoch, den 09.08.2006, 09:09 -0600 schrieb Tom Gregory: > 2. Use Prototype's bindAsEventListener function, which ensures the > event object is always passed to the handler. that's it. Thanks, now everything works fine. I found a workaround myself, but it requires patching prototype, s