From 863a3d4af493292661554714cafae2975da702f7 Mon Sep 17 00:00:00 2001 From: Junior Date: Sun, 8 Nov 2026 15:22:32 -0500 Subject: [PATCH] Change several API calls to POST type --- js/comics.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/comics.js b/js/comics.js index 70b4c62..2154067 100644 --- a/js/comics.js +++ b/js/comics.js @@ -58,6 +58,7 @@ function getSortOrder(refresh = true) { function cycleSortOrder() { $.ajax({ url : 'ajax/cyclesortorder.php', + type : 'POST', dataType : 'json', success : function(data, stat, jqo) { if ( !data.validated ) { @@ -85,7 +86,6 @@ function cycleSortOrder() { * - If the user is not validated, redirects to the login page. * - Updates the current path and path navigator. * - Appends each folder or issue entry to the list. - * - Attaches click handlers to folder and issue elements for navigation and reading. * - Removes the loading notification upon completion. * * @function @@ -125,6 +125,7 @@ function getFolderContents() { function changeFolder(path) { $.ajax({ url : 'ajax/setpath.php', + type : 'POST', data : {path: path}, dataType : 'json', success : function(data, stat, jqo) { @@ -156,6 +157,7 @@ function updateCurrentPage() { var currentPage = lightbox.currentPosition; $.ajax({ url : 'ajax/setpage.php', + type : 'POST', data : {page: currentPage}, dataType : 'json', success : function(data, stat, jqo) {