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

(-)a/koha-tmpl/intranet-tmpl/prog/js/catalog.js (-4 / +3 lines)
Lines 20-27 function printBiblio() {window.print(); } Link Here
20
20
21
/* IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) */
21
/* IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) */
22
22
23
function confirm_deletion() {
23
function confirm_deletion(link) {
24
    var order_manage_permission = $(this).data("order-manage");
24
    var order_manage_permission = $(link).data("order-manage");
25
    var is_confirmed;
25
    var is_confirmed;
26
    if (count > 0){
26
    if (count > 0){
27
        is_confirmed = alert( MSG_DELETE_ALL_ITEMS.format(count) );
27
        is_confirmed = alert( MSG_DELETE_ALL_ITEMS.format(count) );
Lines 80-86 $(document).ready(function() { Link Here
80
        return false;
80
        return false;
81
    });
81
    });
82
    $("#deletebiblio").click(function(){
82
    $("#deletebiblio").click(function(){
83
        confirm_deletion();
83
        confirm_deletion(this);
84
        return false;
84
        return false;
85
    });
85
    });
86
    $("#deleteallitems").click(function(){
86
    $("#deleteallitems").click(function(){
87
- 

Return to bug 20979