Revision 1409:3cb633d4b37d plugins/redmine_bibliography/app/views/publications

View differences:

plugins/redmine_bibliography/app/views/publications/edit.html.erb
16 16
                            dataType: 'script'
17 17
                        }); return false; });" -%>
18 18

  
19
  <%= javascript_tag "authorship_autocomplete('#{url_for :controller => :publications, :action => :autocomplete_for_author}');" -%>
20

  
19 21
<% end %>
20 22

  
21 23
<%= error_messages_for 'publication' %>
plugins/redmine_bibliography/app/views/publications/new.html.erb
3 3
    <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %>
4 4
    <%= javascript_include_tag 'bibliography', :plugin => 'redmine_bibliography' -%>
5 5
    <%= javascript_include_tag 'new_publication', :plugin => 'redmine_bibliography' -%>
6

  
6 7
    <%= javascript_tag "
7 8
      $('#publication_bibtex_entry_attributes_entry_type').live('change', function() {
8 9
          $this = $(this);
......
17 18
          return false;
18 19
      });"-%>
19 20

  
21
  <%= javascript_tag "authorship_autocomplete('#{url_for :controller => :publications, :action => :autocomplete_for_author}');" -%>
22

  
20 23
<% end %>
21 24

  
22 25
<%= error_messages_for 'publication' %>

Also available in: Unified diff