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-25
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"; |
22 |
|
26 |
|
|
|
27 |
return false; |
28 |
} |
23 |
function checkout_confirm(patronid) { |
29 |
function checkout_confirm(patronid) { |
24 |
var barcode = $("#barcode").val(); |
30 |
var barcode = $("#barcode").val(); |
25 |
// alert("checkout_confirm('" + patronid + "') called for barcode '" + barcode + "'"); |
31 |
// alert("checkout_confirm('" + patronid + "') called for barcode '" + barcode + "'"); |
Lines 92-98
$(document).ready(function() {
Link Here
|
92 |
}); |
98 |
}); |
93 |
}); |
99 |
}); |
94 |
//]]> |
100 |
//]]> |
95 |
|
101 |
$(document).ready(function(){ |
|
|
102 |
$("#logout_form input.finish").click(function(){ |
103 |
if(confirm("Would you like to print a receipt?")){ |
104 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); |
105 |
} |
106 |
$(this).parent().attr("action", "/cgi-bin/koha/sco/sco-main.pl?op=logout"); |
107 |
$(this).parent().submit(); |
108 |
}); |
109 |
}); |
96 |
</script> |
110 |
</script> |
97 |
[% IF ( opacuserjs ) %]<script type="text/javascript">[% opacuserjs %]</script>[% END %] |
111 |
[% IF ( opacuserjs ) %]<script type="text/javascript">[% opacuserjs %]</script>[% END %] |
98 |
|
112 |
|
Lines 227-233
Sorry, this self-checkout station has lost authentication. Please contact the a
Link Here
|
227 |
<input type="hidden" name="valid_session" value="1" /> |
241 |
<input type="hidden" name="valid_session" value="1" /> |
228 |
<input type="submit" value="Submit" class="submit" /></fieldset> |
242 |
<input type="submit" value="Submit" class="submit" /></fieldset> |
229 |
</form> |
243 |
</form> |
230 |
<div><form method="post" action="/cgi-bin/koha/sco/sco-main.pl?op=logout" ><input type="submit" value="Finish" class="finish" /></form></div> |
244 |
<div><form method="post" action="#" id="logout_form"><input type="submit" value="Finish" class="finish" /></form></div> |
231 |
</div> <!-- sco_entry --> <!-- newcheckout --> |
245 |
</div> <!-- sco_entry --> <!-- newcheckout --> |
232 |
[% IF ( display_patron_image ) %]</div> <!-- /yui-u first -->[% END %] |
246 |
[% IF ( display_patron_image ) %]</div> <!-- /yui-u first -->[% END %] |
233 |
[% IF ( display_patron_image ) %] |
247 |
[% IF ( display_patron_image ) %] |