2009-05-10 13:44:45 +02:00
|
|
|
function genPDF() {
|
2009-05-12 02:51:21 +02:00
|
|
|
window.open( "includes/show_pdf.php", "myWindow", "status = 1, fullscreen=yes,scrollbars=yes" )
|
2009-05-10 13:44:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|