mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2024-08-26 14:14:25 -04:00
11 lines
233 B
JavaScript
11 lines
233 B
JavaScript
function show_confirm($url, $id, $action)
|
|
{
|
|
var r=confirm("Are you sure?");
|
|
if (r==true) {
|
|
window.location.href = $url + '&id=' + $id + '&action=' + $action;
|
|
} else {
|
|
window.location.href = $url;
|
|
}
|
|
}
|
|
|