Revision 1408:b09744f35f76 plugins
| plugins/redmine_bibliography/app/views/publications/_authorship_fields.html.erb | ||
|---|---|---|
| 18 | 18 |
<p> |
| 19 | 19 |
<%= button_to_function l(:label_save_author), '', :id => form_tag_id(f.object_name, :edit_save_button), :class => 'author_save_btn' -%> |
| 20 | 20 |
|
| 21 |
<%= button_to_function l(:label_edit_author), '', :id => form_tag_id(f.object_name, :edit_button), :class => 'author_edit_btn' -%> |
|
| 21 |
<%= button_to_function l(:label_edit_author), '', :id => form_tag_id(f.object_name, :edit_button), :class => 'author_edit_btn', :style => "display:none;" -%>
|
|
| 22 | 22 |
|
| 23 | 23 |
<%= link_to_remove_fields l("remove_author"), f %>
|
| 24 | 24 |
</p> |
| plugins/redmine_bibliography/assets/javascripts/new_publication.js | ||
|---|---|---|
| 4 | 4 |
// adds the events to the edit/save authorship button |
| 5 | 5 |
$('.author_save_btn').live('click', disable_fields);
|
| 6 | 6 |
$('.author_edit_btn').live('click', enable_fields);
|
| 7 |
|
|
| 8 |
|
|
| 7 | 9 |
}); |
| plugins/redmine_bibliography/assets/stylesheets/bibliography.css | ||
|---|---|---|
| 70 | 70 |
display: none; |
| 71 | 71 |
float: left; |
| 72 | 72 |
} |
| 73 |
|
|
| 74 |
.author_edit_btn {
|
|
| 75 |
display: none; |
|
| 76 |
} |
|
Also available in: Unified diff