wrong respond_to format used

Hi all,

I have a form that wrongly trigger the rjs respond to with ie7. The
html repond_to is correctly used in both FF 3 and Google Chrome. I use
the standard form_for helper and have no idea what could cause this
issue.

I have pased the ie 7 html (left some stuff out)

All help is greatly appreciated.
Stijn

<form action="/events/3" class="edit_event" id="edit_event_3"
method="post"><div style="margin:0;padding:0"><input name="_method"
type="hidden" value="put" /></div>

  <td>
  <script type="text/javascript">
  //<![CDATA[
  document.observe('dom:loaded', function() {
    var elements = $$('input[name="event[statistic_attributes][goals][]
[goals]"]');
    $('edit_event_1').observe('change', function() {
      $('goals_for').setValue(elements.inject(0, function(memo, input)
{
        return memo += parseFloat($F(input));
      }))
    })
  })
  //]]>
  </script>

    <input id="event[statistic_attributes][goals_id][]"
name="event[statistic_attributes][goals_id][]" type="hidden"
value="10" />

  <input class="goals_for" id="goals_for" size="1" type="text"
value="6" disabled > -
  <input class="goals_against" id="event[statistic_attributes]
[goals_against][]" name="event[statistic_attributes][goals_against][]"
size="1" type="text" value="2" />
</td>

<p class="submit" id="submit">
<input name="commit" onclick="this.disabled=true,this.form.submit();"
type="submit" value="Aanpassen" /> of
<a href="/calendar">terug</a>
</form>

Hi all,

I have a form that wrongly trigger the rjs respond to with ie7. The
html repond_to is correctly used in both FF 3 and Google Chrome. I use
the standard form_for helper and have no idea what could cause this
issue.

Take a look at what is sent over the wire. I have a vague recollection
of someone writing something about IE sending a dodgy Accept header.

Fred