view plugins/redmine_bibliography/assets/javascripts/bibliography.js @ 1306:af51e7e3e846 redmine-2.2-integration

added missing route for authors/show.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 17 Jun 2013 15:22:19 +0100
parents 8d30e7644b75
children 8516c3292901
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;
});