|
Lines 39-45
Link Here
|
| 39 |
[% Asset.js('js/Gettext.js') | $raw %] |
39 |
[% Asset.js('js/Gettext.js') | $raw %] |
| 40 |
[% Asset.js('js/i18n.js') | $raw %] |
40 |
[% Asset.js('js/i18n.js') | $raw %] |
| 41 |
</head> |
41 |
</head> |
| 42 |
<body id="sco_main" class="sco" onload="dofocus();" onunload="mungeHistory();"> |
42 |
<body id="sco_main" class="sco"> |
| 43 |
[% INCLUDE 'masthead-sco.inc' %] |
43 |
[% INCLUDE 'masthead-sco.inc' %] |
| 44 |
|
44 |
|
| 45 |
<div class="main"> |
45 |
<div class="main"> |
|
Lines 248-254
Link Here
|
| 248 |
|
248 |
|
| 249 |
[% IF ( validuser ) %] |
249 |
[% IF ( validuser ) %] |
| 250 |
<div id="newcheckout" class="sco_entry"> |
250 |
<div id="newcheckout" class="sco_entry"> |
| 251 |
<form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit="return checkout_confirm('[% patronid | html %]');"> |
251 |
<form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl"> |
| 252 |
<legend><h2> |
252 |
<legend><h2> |
| 253 |
[% IF ( Koha.Preference('SCOAllowCheckin') ) %] |
253 |
[% IF ( Koha.Preference('SCOAllowCheckin') ) %] |
| 254 |
<span>Check out, return, or renew an item:</span> |
254 |
<span>Check out, return, or renew an item:</span> |
|
Lines 506-511
Link Here
|
| 506 |
} |
506 |
} |
| 507 |
[% END %] |
507 |
[% END %] |
| 508 |
|
508 |
|
|
|
509 |
$( window ).on( "load", function() { |
| 510 |
dofocus(); |
| 511 |
}); |
| 512 |
|
| 513 |
$( window ).on( "unload", function() { |
| 514 |
mungeHistory(); |
| 515 |
}); |
| 509 |
|
516 |
|
| 510 |
$(document).ready(function() { |
517 |
$(document).ready(function() { |
| 511 |
dofocus(); |
518 |
dofocus(); |
|
Lines 540-545
Link Here
|
| 540 |
|
547 |
|
| 541 |
return true; |
548 |
return true; |
| 542 |
}); |
549 |
}); |
|
|
550 |
|
| 551 |
$("#scan_form").on("submit", function(){ |
| 552 |
return checkout_confirm('[% patronid | html %]'); |
| 553 |
}); |
| 543 |
}); |
554 |
}); |
| 544 |
|
555 |
|
| 545 |
</script> |
556 |
</script> |
| 546 |
- |
|
|