Hi there,
I have set up demo 1 on my localhost. I'm using the laravel version of metronic 8.
The delete button on the log tables does not do anything.
I notice this question was asked a couple of days ago however when I click on the answer button I get a 404 error.
Please advise how to fix this.
Thanks and have a great day
Hi Alex,
We got your support request via email. Could you please try to use "php artisan serve" command to start the localhost? then go to http://127.0.0.1:8000/ to open the laravel app.
Thanks
So my page is missing this java script:
$.ajaxSetup({headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}});
LaravelDataTables["audit-log-table"].on('click', '[data-destroy]', function (e) {
e.preventDefault();
if (!confirm("Are you sure to delete this record?")) {
return;
}
axios.delete($(this).data('destroy'), {
'_method': 'DELETE',
})
.then(function (response) {
LaravelDataTables["audit-log-table"].ajax.reload();
})
.catch(function (error) {
console.log(error);
});
However, you have this on your page at https://preview.keenthemes.com/metronic8/laravel/log/audit?demo=demo1
Please advise on how to fix....
Thanks!
Hello,
Could I please get a response to this query? I can provide my purchase code.
Thanks!