view plugins/redmine_bibliography/assets/javascripts/bibliography.js @ 1279:a0488ec6979e redmine-2.2-integration

cleaned the code.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 10 May 2013 17:50:26 +0100
parents 1194982f28ba
children 8d30e7644b75
line wrap: on
line source

$("#publication_bibtex_entry_attributes_entry_type").live("change", function() {
    $this = $(this);

    $.ajax({
        type: "POST",
        url: "/publications/show_bibtex_fields",
        data: {
            value: $this.val()
        },
        dataType: "script"
    });

    return false;
});