Lines 8-13
Link Here
|
8 |
<script type="text/javascript" src="[% yuipath %]/container/container-min.js"></script> |
8 |
<script type="text/javascript" src="[% yuipath %]/container/container-min.js"></script> |
9 |
<script type="text/javascript" src="[% yuipath %]/menu/menu-min.js"></script> |
9 |
<script type="text/javascript" src="[% yuipath %]/menu/menu-min.js"></script> |
10 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script> |
10 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script> |
|
|
11 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/jquery-ui.js"></script> |
11 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
12 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
12 |
<script type="text/javascript">//<![CDATA[ |
13 |
<script type="text/javascript">//<![CDATA[ |
13 |
function sco_init(valid_session) { |
14 |
function sco_init(valid_session) { |
Lines 19-24
function dofocus() { // named function req'd for body onload event by some FF
Link Here
|
19 |
// alert("dofocus called"); |
20 |
// alert("dofocus called"); |
20 |
$(".focus:last").select(); |
21 |
$(".focus:last").select(); |
21 |
} |
22 |
} |
|
|
23 |
var slip_re = /slip/; |
24 |
function printx_window(print_type) { |
25 |
var handler = print_type.match(slip_re) ? "printslip" : "moremember"; |
26 |
|
27 |
return false; |
28 |
} |
22 |
|
29 |
|
23 |
function checkout_confirm(patronid) { |
30 |
function checkout_confirm(patronid) { |
24 |
var barcode = $("#barcode").val(); |
31 |
var barcode = $("#barcode").val(); |
Lines 35-40
function checkout_confirm(patronid) {
Link Here
|
35 |
this.patronid.value=''; |
42 |
this.patronid.value=''; |
36 |
} |
43 |
} |
37 |
} |
44 |
} |
|
|
45 |
if(confirm("Would you like to print a receipt?")){ |
46 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); |
47 |
} |
38 |
return true; |
48 |
return true; |
39 |
} |
49 |
} |
40 |
|
50 |
|