mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2025-01-09 17:46:27 -05:00
15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
|
function genPDF() {
|
||
|
window.open( "includes/pdf.php", "myWindow", "status = 1, fullscreen=yes,scrollbars=yes" )
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
|