|
|
@@ -17,3 +17,14 @@ function add2tags(id) {
|
|
|
select.appendChild(newOption);
|
|
|
input.value= '';
|
|
|
}
|
|
|
+
|
|
|
+function add2aliases(id) {
|
|
|
+ var select = document.getElementById( id + '-alias');
|
|
|
+ var input = document.getElementById( id + '-customalias');
|
|
|
+ var newOption = document.createElement('option');
|
|
|
+ newOption.value = input.value;
|
|
|
+ newOption.innerText = input.value;
|
|
|
+ newOption.selected = true;
|
|
|
+ select.appendChild(newOption);
|
|
|
+ input.value= '';
|
|
|
+}
|