Stopping events using Prototype 1.6.1 in IE9 / how compatible is Prototype 1.7 with 1.6.1?

365 views
Skip to first unread message

Luke

unread,
Oct 15, 2011, 11:10:34 AM10/15/11
to prototype-s...@googlegroups.com
Hi,

I'm currently trying to make my site compatible with IE9 and there's already a major problem. I'm using Prototype 1.6.1 and it seems events won't be stopped with Event.stop anymore in IE9. I've read on Stackoverflow [1] Prototype 1.7 fixes that problem but I'm not sure if I should update. Deadline's coming soon and I don't know how much of a problem updating Prototype will be.

So here's my question: Is there a way to stop events in IE9 with Prototype 1.6.1

or

would you recommend upgrading to Prototype 1.7? Would you say there are some things that could be problematic?

Thank you,
Lukas


Andrew Dupont

unread,
Oct 19, 2011, 7:32:52 PM10/19/11
to Prototype & script.aculo.us
IE 9 makes major changes to the event system. We had to rewrite the
event code in 1.7 to support it. You can either (a) upgrade to 1.7;
(b) force your site into compatibility mode [1].

I highly recommend option A. If it's not a seamless upgrade, option B
is there as a last resort.

Cheers,
Andrew


[1] http://stackoverflow.com/questions/1014666/force-ie8-into-ie7-compatiblity-mode/1014690#1014690
> [1]http://stackoverflow.com/questions/3919250/disable-a-link-in-ie9-prot...

Luke

unread,
Oct 20, 2011, 8:39:19 AM10/20/11
to prototype-s...@googlegroups.com
Thanks Andrew. I tried upgrading. So far I don't see any problems, Good job! :)
Reply all
Reply to author
Forward
0 new messages