summaryrefslogtreecommitdiff
path: root/public/js/modules/new.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/modules/new.js')
-rw-r--r--public/js/modules/new.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/public/js/modules/new.js b/public/js/modules/new.js
index a018087..f7c3e34 100644
--- a/public/js/modules/new.js
+++ b/public/js/modules/new.js
@@ -87,6 +87,7 @@ function newEventForm() {
creatorEmail: "",
eventGroupID: "",
eventGroupEditToken: "",
+ publicCheckbox: false,
interactionCheckbox: false,
joinCheckbox: false,
maxAttendeesCheckbox: false,
@@ -107,6 +108,7 @@ function newEventForm() {
this.data.interactionCheckbox = false;
this.data.joinCheckbox = false;
this.data.maxAttendeesCheckbox = false;
+ this.data.publicCheckbox = false;
},
async submitForm() {
this.submitting = true;
@@ -160,6 +162,11 @@ function newEventGroupForm() {
eventGroupURL: "",
hostName: "",
creatorEmail: "",
+ publicCheckbox: false,
+ },
+ init() {
+ // Reset checkboxes
+ this.data.publicCheckbox = false;
},
errors: [],
submitting: false,