File manager - Edit - /home/autoph/repositories/AutoHub-Rating/public/js/auth/profile.js
Back
(function(e){ "use strict"; $(function(){ $('.edit-profile').on('submit', function(e){ e.preventDefault(); var formData = new FormData(this); $.ajax({ type:"POST", url:"/update-profile", dataType: 'json', data: formData, processData: false, contentType: false, headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, success: function(e){ console.log(e); toastRWithTime(e.message,'success'); window.location.reload(); // setTimeout(function() { // window.location.href = "/"; // }, 5000); }, error: function(error){ console.log(error); toastRWithTime(error.responseJSON.message,"error"); } }); }); }); })();
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings