Project import generated by Copybara.
GitOrigin-RevId: 63746295f1a5ab5a619056791995793d65529e62
diff --git a/src/js/incidenttypes.js b/src/js/incidenttypes.js
new file mode 100644
index 0000000..48e8ae4
--- /dev/null
+++ b/src/js/incidenttypes.js
@@ -0,0 +1,6 @@
+window.addEventListener("load", function() {
+ document.querySelector(".addincident").addEventListener("click", function() {
+ document.querySelector("#addincident").showModal();
+ /* Or dialog.show(); to show the dialog without a backdrop. */
+ });
+});