mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2024-08-26 09:14:22 -04: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;
|
||
|
}
|
||
|
}
|
||
|
|