diff plugins/redmine_bibliography/assets/javascripts/bibliography.js @ 1282:8d30e7644b75 redmine-2.2-integration

fixed a few routes (using GET instead of POST ). Simplified JS code.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 13 May 2013 18:02:38 +0100
parents a0488ec6979e
children 8516c3292901
line wrap: on
line diff
--- a/plugins/redmine_bibliography/assets/javascripts/bibliography.js	Fri May 10 17:59:12 2013 +0100
+++ b/plugins/redmine_bibliography/assets/javascripts/bibliography.js	Mon May 13 18:02:38 2013 +0100
@@ -3,7 +3,7 @@
     $this = $(this);
 
     $.ajax({
-        type: "POST",
+        type: "get",
         url: "/publications/show_bibtex_fields",
         data: {
             value: $this.val()