Lines 107-113
function update_child() {
Link Here
|
107 |
function confirm_reregistration() { |
107 |
function confirm_reregistration() { |
108 |
var is_confirmed = window.confirm(_("Are you sure you want to renew this patron's registration?")); |
108 |
var is_confirmed = window.confirm(_("Are you sure you want to renew this patron's registration?")); |
109 |
if (is_confirmed) { |
109 |
if (is_confirmed) { |
110 |
window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&desintation=[% destination %]&reregistration=y'; |
110 |
window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber | replace( "'", "\\'" ) %]&desintation=[% destination %]&reregistration=y'; |
111 |
} |
111 |
} |
112 |
} |
112 |
} |
113 |
function export_barcodes() { |
113 |
function export_barcodes() { |
Lines 118-124
function printx_window(print_type) {
Link Here
|
118 |
var handler = print_type.match(slip_re) ? "printslip" : "summary-print"; |
118 |
var handler = print_type.match(slip_re) ? "printslip" : "summary-print"; |
119 |
window.open("/cgi-bin/koha/members/" + handler + ".pl?borrowernumber=[% borrowernumber %]&print=" + print_type, "printwindow"); |
119 |
window.open("/cgi-bin/koha/members/" + handler + ".pl?borrowernumber=[% borrowernumber %]&print=" + print_type, "printwindow"); |
120 |
return false; |
120 |
return false; |
121 |
} |
121 |
}i |
122 |
function searchToHold(){ |
122 |
function searchToHold(){ |
123 |
var date = new Date(); |
123 |
var date = new Date(); |
124 |
date.setTime(date.getTime() + (10 * 60 * 1000)); |
124 |
date.setTime(date.getTime() + (10 * 60 * 1000)); |
125 |
- |
|
|