add delete confirmation dialog
This commit is contained in:
parent
eb9b116311
commit
ef30239cc6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue