tsmmonitor2/includes/functions.js
2009-05-18 08:29:09 +00:00

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;
}
}