changeset 622:e9cdf1e676a8 feature_36

Fixed radio button name (correct instead of corrections) that was preventing JS from working corrrectly.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 24 Aug 2011 15:19:33 +0100
parents 95a7d6187454
children a434a588f16c
files vendor/plugins/redmine_bibliography/app/views/publications/_authorship_fields.rhtml vendor/plugins/redmine_bibliography/config/locales/en.yml
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/views/publications/_authorship_fields.rhtml	Wed Aug 24 13:59:10 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/app/views/publications/_authorship_fields.rhtml	Wed Aug 24 15:19:33 2011 +0100
@@ -21,7 +21,7 @@
       <p class="identify_author">
         <label><%= radio_button_tag(:identify_author, "yes", false, :name => form_tag_name(f.object_name,:identify_author ), :id => form_tag_id( f.object_name, :identify_author_yes ), :onclick => "identify_author_status($(this).value, #{form_object_id(f.object_name) });") %> <%= l(:identify_author_yes) %> </label><br />
        
-        <label><%= radio_button_tag(:identify_author, "corrections", false, :name => form_tag_name(f.object_name,:identify_author ), :id => form_tag_id( f.object_name, :identify_author_corrections ), :onclick => "identify_author_status($(this).value, #{form_object_id(f.object_name) });") %> <%= l(:identify_author_corrections) %> </label><br />
+        <label><%= radio_button_tag(:identify_author, "correct", false, :name => form_tag_name(f.object_name,:identify_author ), :id => form_tag_id( f.object_name, :identify_author_corrections ), :onclick => "identify_author_status($(this).value, #{form_object_id(f.object_name) });") %> <%= l(:identify_author_correct) %> </label><br />
         
         <label><%= radio_button_tag(:identify_author, "no", true, :name => form_tag_name(f.object_name,:identify_author ), :id => form_tag_id( f.object_name, :identify_author_no ), :onclick => "identify_author_status($(this).value, #{form_object_id(f.object_name) });") %> <%= l(:identify_author_no) %> </label><br />
       </p>
--- a/vendor/plugins/redmine_bibliography/config/locales/en.yml	Wed Aug 24 13:59:10 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/config/locales/en.yml	Wed Aug 24 15:19:33 2011 +0100
@@ -10,7 +10,7 @@
   
   identify_author_question: Is the right person selected above?
   identify_author_yes: "Yes"
-  identify_author_corrections: "Yes, but I need to correct some details"
+  identify_author_correct: "Yes, but I need to correct some details"
   identify_author_no: "No"
 
   label_all_publications: All Publications