mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
add delete confirmation dialog
This commit is contained in:
parent
eb9b116311
commit
ef30239cc6
@ -58,7 +58,7 @@ if ($manageDashboards !== 0) {
|
|||||||
$output .= '</a> ';
|
$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(
|
$output .= html_print_image(
|
||||||
'images/input_delete_white.png',
|
'images/input_delete_white.png',
|
||||||
true,
|
true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user