mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2024-12-22 22:36:25 -05: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;
|
||
|
}
|
||
|
}
|
||
|
|