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

(-)a/koha-tmpl/intranet-tmpl/prog/js/cart.js (-1 / +1 lines)
Lines 54-60 function batchModify(){ Link Here
54
        var bib = $(this).val();
54
        var bib = $(this).val();
55
        bibs += bib + "/";
55
        bibs += bib + "/";
56
    });
56
    });
57
    newloc = "/cgi-bin/koha/tools/batch_record_modification.pl?op=list&bib_list=" + bibs + "&type=biblio";
57
    newloc = "/cgi-bin/koha/tools/batch_record_modification.pl?op=list&bib_list=" + bibs + "&type=biblio";
58
58
59
    window.opener.location = newloc;
59
    window.opener.location = newloc;
60
    window.close();
60
    window.close();
(-)a/koha-tmpl/intranet-tmpl/prog/js/catalog.js (-2 / +2 lines)
Lines 52-58 function confirm_deletion(link) { Link Here
52
    }
52
    }
53
    if (is_confirmed) {
53
    if (is_confirmed) {
54
        $("#deletebiblio").unbind('click');
54
        $("#deletebiblio").unbind('click');
55
        window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&biblionumber=" + biblionumber + (searchid ? "&searchid="+searchid : "");
55
        window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&biblionumber=" + biblionumber + (searchid ? "&searchid="+searchid : "");
56
    } else {
56
    } else {
57
        return false;
57
        return false;
58
    }
58
    }
Lines 67-73 function confirm_items_deletion() { Link Here
67
        alert(__("%s hold(s) on this record. You must delete all holds before deleting all items.").format(holdcount));
67
        alert(__("%s hold(s) on this record. You must delete all holds before deleting all items.").format(holdcount));
68
    } else if ( count > 0 ) {
68
    } else if ( count > 0 ) {
69
        if (confirm(__("Are you sure you want to delete the %s attached items?").format(count))) {
69
        if (confirm(__("Are you sure you want to delete the %s attached items?").format(count))) {
70
            window.location="/cgi-bin/koha/cataloguing/additem.pl?op=delallitems&biblionumber=" + biblionumber + (searchid ? "&searchid="+searchid : "");
70
            window.location="/cgi-bin/koha/cataloguing/additem.pl?op=delallitems&biblionumber=" + biblionumber + (searchid ? "&searchid="+searchid : "");
71
        } else {
71
        } else {
72
            return false;
72
            return false;
73
        }
73
        }
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-1 / +1 lines)
Lines 450-456 $(document).ready(function() { Link Here
450
        let reserve_id     = $(this).data('reserve-id');
450
        let reserve_id     = $(this).data('reserve-id');
451
        let biblionumber   = $(this).data('biblionumber');
451
        let biblionumber   = $(this).data('biblionumber');
452
        let suspend_until  = $('#suspend_until_' + reserve_id).val();
452
        let suspend_until  = $('#suspend_until_' + reserve_id).val();
453
        window.location.href='request.pl?action=toggleSuspend&reserve_id=' + reserve_id + '&biblionumber=' + biblionumber + '&suspend_until=' + suspend_until;
453
        window.location.href='request.pl?action=toggleSuspend&reserve_id=' + reserve_id + '&biblionumber=' + biblionumber + '&suspend_until=' + suspend_until;
454
        return false;
454
        return false;
455
    });
455
    });
456
});
456
});
(-)a/koha-tmpl/intranet-tmpl/prog/js/members-menu.js (-3 / +3 lines)
Lines 145-160 function update_child() { Link Here
145
function confirm_reregistration() {
145
function confirm_reregistration() {
146
    var is_confirmed = window.confirm( __("Are you sure you want to renew this patron's registration?") );
146
    var is_confirmed = window.confirm( __("Are you sure you want to renew this patron's registration?") );
147
    if (is_confirmed) {
147
    if (is_confirmed) {
148
        window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=' + borrowernumber + '&destination=' + destination + '&reregistration=y';
148
        window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=' + borrowernumber + '&destination=' + destination + '&reregistration=y';
149
    }
149
    }
150
}
150
}
151
function export_barcodes() {
151
function export_barcodes() {
152
    window.open('/cgi-bin/koha/members/readingrec.pl?borrowernumber=' + borrowernumber + '&op=export_barcodes');
152
    window.open('/cgi-bin/koha/members/readingrec.pl?borrowernumber=' + borrowernumber + '&op=export_barcodes');
153
}
153
}
154
var slip_re = /slip/;
154
var slip_re = /slip/;
155
function printx_window(print_type) {
155
function printx_window(print_type) {
156
    var handler = print_type.match(slip_re) ? "printslip" : "summary-print";
156
    var handler = print_type.match(slip_re) ? "printslip" : "summary-print";
157
    window.open("/cgi-bin/koha/members/" + handler + ".pl?borrowernumber=" + borrowernumber + "&print=" + print_type, "printwindow");
157
    window.open("/cgi-bin/koha/members/" + handler + ".pl?borrowernumber=" + borrowernumber + "&print=" + print_type, "printwindow");
158
    return false;
158
    return false;
159
}
159
}
160
function searchToHold(){
160
function searchToHold(){
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (-2 / +1 lines)
Lines 434-440 function resultsBatchProcess( op ){ Link Here
434
            selected.each(function() {
434
            selected.each(function() {
435
                params.push( $(this).val() );
435
                params.push( $(this).val() );
436
            });
436
            });
437
            url = "/cgi-bin/koha/tools/batch_record_modification.pl?op=list&bib_list=" + params.join("/");
437
            url = "/cgi-bin/koha/tools/batch_record_modification.pl?op=list&bib_list=" + params.join("/");
438
            location.href = url;
438
            location.href = url;
439
        }
439
        }
440
    } else if( op == "delete" ){
440
    } else if( op == "delete" ){
441
- 

Return to bug 35072