|
Lines 91-101
$(document).ready(function() {
Link Here
|
| 91 |
})); |
91 |
})); |
| 92 |
$("#logout_form").submit(function(){ |
92 |
$("#logout_form").submit(function(){ |
| 93 |
clearTimeout(mainTimeout); |
93 |
clearTimeout(mainTimeout); |
| 94 |
[% IF Koha.Preference('SelfCheckReceiptPrompt') %] |
94 |
[% IF Koha.Preference('SelfCheckReceiptPrompt') %] |
| 95 |
if(confirm("Would you like to print a receipt?")){ |
95 |
if( confirm("Would you like to print a receipt?") ) { |
| 96 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); |
96 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); |
| 97 |
[%END %] |
97 |
} |
| 98 |
} |
98 |
[% END %] |
| 99 |
return true; |
99 |
return true; |
| 100 |
}); |
100 |
}); |
| 101 |
}); |
101 |
}); |
| 102 |
- |
|
|