Lines 492-502
Link Here
|
492 |
let input = $('<input type="hidden" name="alias" />'); |
492 |
let input = $('<input type="hidden" name="alias" />'); |
493 |
input.val(a.alias); |
493 |
input.val(a.alias); |
494 |
n.append(input); |
494 |
n.append(input); |
495 |
n.append(`<a onclick="remove_alias(${i});"><i class="fa fa-trash" aria-hidden="true"></i></a>`); |
495 |
n.append(` <a style="cursor: pointer;" onclick="remove_alias(${i});"><i class="fa fa-trash" aria-hidden="true"></i> ` + _("Remove") + '</a>'); |
496 |
nodes.append(n); |
496 |
nodes.append(n); |
497 |
}); |
497 |
}); |
498 |
nodes.append("<input id='new_alias' type='text' />"); |
498 |
nodes.append("<input id='new_alias' type='text' class='noEnterSubmit' />"); |
499 |
nodes.append(`<a onclick="add_alias();"><i class="fa fa-plus" aria-hidden="true"></i></a>`); |
499 |
nodes.append(' <a style="cursor: pointer;" onclick="add_alias();"><i class="fa fa-plus" aria-hidden="true"></i> ' + _("Add") + '</a>'); |
500 |
$("#aliases").html(nodes.html()); |
500 |
$("#aliases").html(nodes.html()); |
501 |
} |
501 |
} |
502 |
|
502 |
|
503 |
- |
|
|