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 303-314 Link Here
303
303
304
          $("#selectall").click();
304
          $("#selectall").click();
305
305
306
          //Show a red cross if a biblio cannot be deleted
306
          [% IF recordtype == 'biblio' %]
307
          [% IF recordtype == 'biblio' %]
307
            $(".records input:checkbox[data-issues!='0']").each(function(){
308
            $(".records input:checkbox[data-issues!='0']").each(function(){
308
              $(this).attr('title', MSG_CANNOT_BE_DELETED)
309
              $(this).parents('tr').find('td').css('background-color', '#ffff99')
309
              $(this).prop('disabled', true);
310
              $(this).replaceWith("<span class='error'><i class='fa fa-times fa-lg'></i></span>")
310
              $(this).prop('checked', false);
311
              $(".records i").attr('title', MSG_CANNOT_BE_DELETED)
311
              $(this).parents('tr').find('td').css('background-color', '#ffff99');
312
            });
312
            });
313
          [% END %]
313
          [% END %]
314
314
315
- 

Return to bug 31611