From 7dcf18151dc7c9ec415b3ce46b4f2ad700adc8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Sat, 31 Aug 2019 17:57:47 +0200 Subject: [PATCH] Fix onsubmit --- src/static/templates/admin/page.hbs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/static/templates/admin/page.hbs b/src/static/templates/admin/page.hbs index a8f8125e..87fef150 100644 --- a/src/static/templates/admin/page.hbs +++ b/src/static/templates/admin/page.hbs @@ -56,7 +56,7 @@
Invite User
Email: -
+
@@ -71,7 +71,7 @@ them to avoid confusion. This does not apply to the read-only section, which can only be set through the environment. -
+ {{#each config}} {{#if groupdoc}}
@@ -321,9 +321,6 @@ "3": { "name": "Manager", "color": "green" }, }; - document.getElementById("invite-form").addEventListener("submit", inviteUser); - document.getElementById("config-form").addEventListener("submit", saveConfig); - document.querySelectorAll("img.identicon").forEach(function (e, i) { e.src = identicon(e.dataset.src); });