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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-5 / +4 lines)
Lines 305-316 Link Here
305
305
306
          $("#selectall").click();
306
          $("#selectall").click();
307
307
308
          //Show a red cross if a biblio cannot be deleted
308
          [% IF recordtype == 'biblio' %]
309
          [% IF recordtype == 'biblio' %]
309
            $(".records input:checkbox[data-issues!='0']").each(function(){
310
            $(".records input:checkbox[data-issues!='0']").each(function(){
310
              $(this).attr('title', MSG_CANNOT_BE_DELETED)
311
              $(this).parents('tr').find('td').css('background-color', '#ffff99')
311
              $(this).prop('disabled', true);
312
              $(this).replaceWith("<span class='error'><i class='fa fa-times fa-lg'></i></span>")
312
              $(this).prop('checked', false);
313
              $(".records i").attr('title', MSG_CANNOT_BE_DELETED)
313
              $(this).parents('tr').find('td').css('background-color', '#ffff99');
314
            });
314
            });
315
          [% END %]
315
          [% END %]
316
316
317
- 

Return to bug 31611