Mercurial > hg > soundsoftware-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
1278:f8bb7ccc6fac | 1279:a0488ec6979e |
---|---|
1 | |
1 $("#publication_bibtex_entry_attributes_entry_type").live("change", function() { | 2 $("#publication_bibtex_entry_attributes_entry_type").live("change", function() { |
3 $this = $(this); | |
4 | |
2 $.ajax({ | 5 $.ajax({ |
3 type: "POST", | 6 type: "POST", |
4 url: "/publications/show_bibtex_fields", | 7 url: "/publications/show_bibtex_fields", |
5 data: "value=" + $("#publication_bibtex_entry_attributes_entry_type").val(), | 8 data: { |
9 value: $this.val() | |
10 }, | |
6 dataType: "script" | 11 dataType: "script" |
7 }); | 12 }); |
8 | 13 |
9 return false; | 14 return false; |
10 }); | 15 }); |
11 |