<div id="overall_comment">
      <div id="overall_comment_edit">
        <%= form_for @result,
          :remote => true,
          :url => { :action => 'update_overall_comment', :id => @result.id } do |f| %>
          <%= f.text_area :overall_comment,
            :cols => 50,
            :rows => 5,
            :id => 'overall_comment_text_area',
            :onkeydown => "$('overall_comment_submit').enable();" %>
       <div>
         <%= f.submit t(:save_changes),
           :disable_with => I18n.t('working'),
           :disabled => true,
           :id => "overall_comment_submit" %>
       </div>
      <% end %>
  </div>
</div>

<div id="overall_comment">
      <div id="overall_comment_edit">
        <%= form_for result,
          :remote => true,
          :url => { :action => 'update_overall_comment', :id => result.id } do |f| %>
          <%= f.text_area :overall_comment,
            :cols => 50,
            :rows => 5,
            :id => 'overall_comment_text_area',
            :onkeydown => "$('overall_comment_submit').enable();" %>
       <div>
         <%= f.submit t(:save_changes),
           :disable_with => I18n.t('working'),
           :disabled => true,
           :id => "overall_comment_submit" %>
       </div>
      <% end %>
  </div>
</div>

Fix updating of annotation overall comment
Fix updating of annotation overall comment

This fixes #1431. The instance variable `@result` is always the new
result of the remark, not the original old result. The caller of the
template passes the old result correctly as a local variable `result`,
but the template is not using it.

Tested:
- local server
- rake test:unit
- rake test:functional
