Server IP : 149.202.105.228 / Your IP : 216.73.216.134 Web Server : Apache System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : atfycaf ( 116275) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/t/f/atfycaf/www/admin/js/jsF/ |
Upload File : |
$(document).ready(function(){ if ($("#leagueETable").length) { $("#leagueETable").DataTable({ "order": [ 0, 'desc' ] }); } $(document).on("click", ".tableBtns .deleteButton", function() { var thisID = $(this).data("lid"); var thisTitle = $(this).data("lt"); $("#gidInputC").val(thisID); $("#groupNameC").html(thisTitle); $("#deleteConfirmPop").addClass("deletePopDisplay"); }); $(document).on("click", ".deletePopBG", function(e) { var parentID = $(e.target).parent().attr('id'); if (parentID == "deleteConfirmPop" || parentID == "deleteWarningPop") { $(".deletePop").removeClass("deletePopDisplay"); } }); $(document).on("click", ".cancelDeleteC", function() { $("#deleteConfirmPop").removeClass("deletePopDisplay"); }); $(document).on("click", "#confirmTDelete", function() { var thisID = $("#gidInputC").val(); $.ajax({ type:"POST", url: "leagueEdit.php", data: "deleteL=true&lID=" + thisID, cache: false, success: function(deleteTournament) { $("#leagueERow" + thisID).slideUp("slow").remove(); $(".deletePop").removeClass("deletePopDisplay"); } }); }); });