mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2024-11-17 22:06:04 -05:00
d7f826c831
added show_pdf.php
15 lines
356 B
JavaScript
15 lines
356 B
JavaScript
function genPDF() {
|
|
window.open( "includes/show_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;
|
|
}
|
|
}
|
|
|