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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/modules/new.js b/public/js/modules/new.js
index ca875bc..2d880f8 100644
--- a/public/js/modules/new.js
+++ b/public/js/modules/new.js
@@ -95,12 +95,13 @@ function newEventForm() {
errors: [],
submitting: false,
init() {
- // Set up Select2
+ // Set up timezone Select2
this.select2 = $(this.$refs.timezone).select2();
this.select2.on("select2:select", (event) => {
this.data.timezone = event.target.value;
});
this.data.timezone = this.select2.val();
+
// Reset checkboxes
this.data.eventGroupCheckbox = false;
this.data.interactionCheckbox = false;