UJS and IE

Hello,

I got the latest UJS for RoR installed and running and also downloaded
the
latest prototype.js file. Now just by including the UJS javascript tag
(:unobtrusive) I get an error in IE browser saying “‘Event’ is
undefined”.

Anyone can help? Thanks!


View this message in context:
http://www.nabble.com/UJS-and-IE-tp17567572p17567572.html
Sent from the RubyOnRails Users mailing list archive at Nabble.com.

Applejus

On Fri, May 30, 2008 at 1:42 PM, Applejus [email protected] wrote:

I got the latest UJS for RoR installed and running and also downloaded the
latest prototype.js file. Now just by including the UJS javascript tag
(:unobtrusive) I get an error in IE browser saying “‘Event’ is undefined”.

I haven’t used UJS, but the error you’re getting is because prototype
isn’t
included. Just include :defaults

<%= javascript_include_tag :defaults, ‘unobtrusive’ %>

Brandon


Sessions by Collective Idea: Ruby on Rails training in a vacation
setting
http://sessions.collectiveidea.com

Hi,

The error still persists, even with defaults included…

Brandon K. wrote:

Sessions by Collective Idea: Ruby on Rails training in a vacation setting
http://sessions.collectiveidea.com


View this message in context:
http://www.nabble.com/UJS-and-IE-tp17567572p17593929.html
Sent from the RubyOnRails Users mailing list archive at Nabble.com.