Mercurial > hg > soundsoftware-site
view plugins/redmine_bibliography/assets/javascripts/edit_publication.js @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | 641ec1b288a6 |
children |
line wrap: on
line source
// edit_publication.js $(document).ready(function(){ // shows the correct bibtex fields $('#publication_bibtex_entry_attributes_entry_type').trigger('change'); // adds the events to the edit/save authorship button $('.author_save_btn').live('click', disable_fields); $('.author_edit_btn').live('click', enable_fields); // clicks all authorships $('.author_save_btn').trigger('click'); });