laravel-logger icon indicating copy to clipboard operation
laravel-logger copied to clipboard

Unable to confirm on clear activity log

Open arborrow opened this issue 5 years ago • 3 comments
trafficstars

I'm using roles middleware (can with a permission) but unable to confirm to clear activity logs. I can cancel the confirmation but clicking on the confirm button does not seem to do anything.

arborrow avatar Sep 09 '20 13:09 arborrow

Same here

katesaikishore avatar Dec 20 '20 12:12 katesaikishore

Viewes=>Vendor=>LarvelLogger=>forms=>clear-activity-log.blade.php

Replace with 'type' => 'sumbit',

So that you can directly delete the rows, Happy logging 💯

katesaikishore avatar Dec 20 '20 14:12 katesaikishore

@arborrow

This is a problem with the javascript, the js code must to execute after load all the jquery lib.

For to solve, just do that.

First, do not change that file mentioned by @katesaikishore

Envolve the code of the file resources/views/vendor/LaravelLogger/scripts/confirm-modal.blade.php

with

$(function() {
 // the javascript file code
})

Print of example:

image

urameshibr avatar May 10 '22 16:05 urameshibr