respond_to js and IE7

Hello,

I'm having an issue serving up javascript in IE7.

I have an action with...

respond_to do |format|
  format.js
end

This works fine in FF and Safari, but in IE7 I'm getting a file download
dialog. IE7 is obviously not interpretting the returned content as
javascript, but I'm not sure why. Can anybody tell me what the issue is
here?

Thanks,
Andrew

Andrew Kaspick wrote:

Hello,

I'm having an issue serving up javascript in IE7.

I have an action with...

respond_to do |format|
  format.js
end

This works fine in FF and Safari, but in IE7 I'm getting a file download
dialog. IE7 is obviously not interpretting the returned content as
javascript, but I'm not sure why. Can anybody tell me what the issue is
here?

Thanks,
Andrew

Ok sorry, ignore. Because debugging in IE sucks compared to FF, it
turns out the issue is a bug in my JS.