diff --git a/html/alert/addedit.html b/html/alert/addedit.html index ecbb1fa1..108efe52 100644 --- a/html/alert/addedit.html +++ b/html/alert/addedit.html @@ -163,6 +163,34 @@ +
+ + + Interrupt + Voicetrack + +
+ + + + + + + + +
diff --git a/js/alert.js b/js/alert.js index 805419cb..7be3d790 100644 --- a/js/alert.js +++ b/js/alert.js @@ -306,3 +306,12 @@ OB.Alert.deleteAlert = function(confirm) } } + +OB.Alert.changeMode = function () +{ + if (document.querySelector("#alert_mode").value === 'voicetrack') { + document.querySelectorAll('.alert_mode_voicetrack').forEach((node) => node.style.display = "inline-block"); + } else { + document.querySelectorAll('.alert_mode_voicetrack').forEach((node) => node.style.display = "none"); + } +}