derekovecs: use GET instead of POST for classic collocators
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 019f3a5..15c75c9 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -172,14 +172,12 @@
classicCollocatorTable = $('#classicoloctable').DataTable({
ajax: {
- method: "POST",
+ method: "GET",
url: '/derekovecs/getClassicCollocators',
dataType: 'json',
dataSrc: "",
timeout: 30000,
- data: function ( d ) {
- return JSON.stringify(paraResults[0][0].rank);
- }
+ data: { w: paraResults[0][0].rank }
},
"initComplete":function(settings, json){
$("td.collocator").click(function(){