Make sure all datatables are using POST

This commit is contained in:
JonnyWong16 2018-03-28 18:08:57 -07:00
commit 36b80aa6d3
8 changed files with 27 additions and 19 deletions

View file

@ -113,7 +113,7 @@
// Load user ids and names (for the selector)
$.ajax({
url: 'get_user_names',
type: 'get',
type: 'GET',
dataType: 'json',
success: function (data) {
var select = $('#history-user');
@ -130,6 +130,7 @@
function loadHistoryTable(media_type, selected_user_id) {
history_table_options.ajax = {
url: 'get_history',
type: 'POST',
data: function (d) {
return {
json_data: JSON.stringify(d),