Bug 6005: Fixes Transit slips cause FF4 to display "prevent this page from opening additional dialogs"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
root 2011-03-30 10:44:59 -04:00 committed by Chris Cormack
parent 0a64cfba5e
commit 5d707b5e9b

View file

@ -2,12 +2,14 @@
<title>Koha -- Circulation: Transfers</title>
<!-- TMPL_INCLUDE NAME="doc-head-close-receipt.inc" -->
<script language="javascript">
function printandclose()
{
window.print();
window.close();
}
</script>
</head>
<body onload="window.print();">
<div id="main">
<body onload="printandclose();"><div id="main">
<!-- TMPL_LOOP NAME="reservedata" -->