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

(-)a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js (-2 / +1 lines)
Lines 7-13 function clean_line(line) { Link Here
7
7
8
function clone_line(line) {
8
function clone_line(line) {
9
    var new_line = $(line).clone();
9
    var new_line = $(line).clone();
10
    $(new_line).find('td:last-child>a').removeClass("add").addClass("delete").html( __("Delete") );
10
    $(new_line).find('td:last-child>a').removeClass("add").addClass("delete").html('<i class="fa fa-trash"></i> %s'.format(__("Delete") ));
11
    $(new_line).find('[data-id]').each(function () {
11
    $(new_line).find('[data-id]').each(function () {
12
        $(this).attr({ name: $(this).attr('data-id') }).removeAttr('data-id');
12
        $(this).attr({ name: $(this).attr('data-id') }).removeAttr('data-id');
13
    });
13
    });
14
- 

Return to bug 20388