View | Details | Raw Unified | Return to bug 6574
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc (-1 / +1 lines)
Lines 17-23 function confirm_updatechild() { Link Here
17
}
17
}
18
18
19
function confirm_reregistration() {
19
function confirm_reregistration() {
20
    var is_confirmed = window.confirm(_('Are you sure you want to renew this patron\'s registration?'));
20
    var is_confirmed = window.confirm(_("Are you sure you want to renew this patron's registration?"));
21
    // var borrowernumbervalue1 = $("#borrowernumber").attr("value");
21
    // var borrowernumbervalue1 = $("#borrowernumber").attr("value");
22
    if (is_confirmed) {
22
    if (is_confirmed) {
23
	window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=circ&reregistration=y';
23
	window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=circ&reregistration=y';
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-2 / +1 lines)
Lines 17-23 function confirm_updatechild() { Link Here
17
}
17
}
18
18
19
function confirm_reregistration() {
19
function confirm_reregistration() {
20
    var is_confirmed = window.confirm(_('Are you sure you want to renew this patron\'s registration?'));
20
    var is_confirmed = window.confirm(_("Are you sure you want to renew this patron's registration?"));
21
    if (is_confirmed) {
21
    if (is_confirmed) {
22
    window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber=[% borrowernumber %]';
22
    window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber=[% borrowernumber %]';
23
    }
23
    }
24
- 

Return to bug 6574