public/assets/js/custom.js
/**
 * Set default delete confirmation box.
 *
 */
Set default delete confirmation box.
Set default delete confirmation box .
function confirm_click(e){
    var r = confirm("Are you sure you want to delete?");
    if (r == true) {
        $(e).closest('form').submit();
    }
}
function confirm_click ( e ) { var r = confirm ( "Are you sure you want to delete?" ) ; if ( r == true ) { $ ( e ) . closest ( 'form' ) . submit ( ) ; } }
Set default delete confirmation box.
Set default delete confirmation box .