add delete confirmation dialog

This commit is contained in:
marcos 2020-04-24 16:43:18 +02:00
parent eb9b116311
commit ef30239cc6
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ if ($manageDashboards !== 0) {
$output .= '</a> ';
}
$output .= '<a id="delete-widget-'.$cellData['id'].'" class="">';
$output .= '<a id="delete-widget-'.$cellData['id'].'" class="" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">';
$output .= html_print_image(
'images/input_delete_white.png',
true,