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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-4 / +3 lines)
Lines 503-513 Link Here
503
                let input = $('<input type="hidden" name="alias" />');
503
                let input = $('<input type="hidden" name="alias" />');
504
                input.val(a.alias);
504
                input.val(a.alias);
505
                n.append(input);
505
                n.append(input);
506
                n.append(`<a onclick="remove_alias(${i});"><i class="fa fa-trash" aria-hidden="true"></i></a>`);
506
                n.append(` <a style="cursor: pointer;" onclick="remove_alias(${i});"><i class="fa fa-trash" aria-hidden="true"></i> ` + _("Remove") + '</a>');
507
                nodes.append(n);
507
                nodes.append(n);
508
            });
508
            });
509
            nodes.append("<input id='new_alias' type='text' />");
509
            nodes.append("<input id='new_alias' type='text' class='noEnterSubmit' />");
510
            nodes.append(`<a onclick="add_alias();"><i class="fa fa-plus" aria-hidden="true"></i></a>`);
510
            nodes.append(' <a style="cursor: pointer;" onclick="add_alias();"><i class="fa fa-plus" aria-hidden="true"></i> ' + _("Add") + '</a>');
511
            $("#aliases").html(nodes.html());
511
            $("#aliases").html(nodes.html());
512
        }
512
        }
513
513
514
- 

Return to bug 33103