tsmmonitor2/includes/layout.js
Michael Clemens d7f826c831 consolidated PDF classes to one class
added show_pdf.php
2009-05-12 00:51:21 +00:00

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