Lines 99-110
$(document).ready(function() {
Link Here
|
99 |
}); |
99 |
}); |
100 |
//]]> |
100 |
//]]> |
101 |
$(document).ready(function(){ |
101 |
$(document).ready(function(){ |
102 |
$("#logout_form input.finish").click(function(){ |
102 |
$("#logout_form").submit(function(){ |
103 |
if(confirm("Would you like to print a receipt?")){ |
103 |
if(confirm("Would you like to print a receipt?")){ |
104 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); |
104 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); |
105 |
} |
105 |
} |
106 |
$(this).parent().attr("action", "/cgi-bin/koha/sco/sco-main.pl?op=logout"); |
106 |
return true; |
107 |
$(this).parent().submit(); |
|
|
108 |
}); |
107 |
}); |
109 |
}); |
108 |
}); |
110 |
</script> |
109 |
</script> |
111 |
- |
|
|