Move ajax logic to ajax.php

This commit is contained in:
Marcus Hill
2022-02-26 11:16:53 +00:00
parent 3bd79635ec
commit 0fac1f3039
5 changed files with 128 additions and 105 deletions

View File

@@ -74,7 +74,7 @@
//Send a GET request to post.php as post.php?merge_ticket_get_json_details=true&merge_into_ticket_number=NUMBER
jQuery.get(
"post.php",
"ajax.php",
{merge_ticket_get_json_details: 'true', merge_into_ticket_number: merge_into_ticket_number},
function(data){
//If we get a response from post.php, parse it as JSON