File manager - Edit - /home/bookdonate/htdocs/bookdonate.in/public/submit.js.tar
Back
home/bookdonate/htdocs/bookdonate.in/public/js/submit.js 0000777 00000003062 15227040376 0017410 0 ustar 00 (function () { $(".prevent-mutiple-form-submit").on("submit", function () { $(".prevent-mutiple-button-submit").attr("disabled", true); $(".spinner").show(); }); })(); function RequestBook(book_id) { //$('.book_confirm_modal').modal('toggle'); Swal.fire({ // title: 'Are you sure?', text: "Are you sure?", icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', showLoaderOnConfirm: true, confirmButtonText: 'Yes, Request it!' }).then((result) => { if (result.isConfirmed) { $.ajax({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, url: SITE_URL + "/checkoutrequestbook", type: "POST", data: { book_id: book_id }, success: function (data) { if (data.status == true) { //Swal.fire('Request successfully sent to book owner!!!'); Swal.fire({ //position: 'top-end', icon: 'success', title: 'Request successfully sent to book owner!!!', showConfirmButton: true, //timer: 1500 }).then((result) => { location.reload(); }) } } }) } }) }
| ver. 1.4 |
Github
|
.
| PHP 8.2.16 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings