Mercurial > hg > soundsoftware-site
view plugins/redmine_bibliography/assets/javascripts/bibliography.js @ 1326:8516c3292901 redmine-2.2-integration
correctly displays bibtex fields for editing
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 18:52:48 +0100 |
parents | 8d30e7644b75 |
children | 5b8bd53fd65c |
line wrap: on
line source
$("#publication_bibtex_entry_attributes_entry_type").live("change", function() { $this = $(this); $.ajax({ type: "get", url: "/publications/show_bibtex_fields", data: { value: $this.val() }, dataType: "script" }); return false; }); $(document).ready(function() { $("#publication_bibtex_entry_attributes_entry_type").trigger('change'); });