From 82c6999ec2ebe572665cc7db4fdb8223cddfc24d Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sun, 26 May 2024 21:07:39 +0100 Subject: Properly validate URLs when editing --- views/partials/eventForm.handlebars | 5 +++-- views/partials/eventGroupForm.handlebars | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/partials/eventForm.handlebars b/views/partials/eventForm.handlebars index 161f44b..6fbbbf0 100755 --- a/views/partials/eventForm.handlebars +++ b/views/partials/eventForm.handlebars @@ -39,7 +39,8 @@
- + + For tickets or another event page (optional).
@@ -106,7 +107,7 @@ +
+ {{/if}} diff --git a/views/eventgroup.handlebars b/views/eventgroup.handlebars index 8fbedbc..9658b60 100755 --- a/views/eventgroup.handlebars +++ b/views/eventgroup.handlebars @@ -10,9 +10,7 @@
{{#if editingEnabled}} - - {{else}} - + {{/if}}
@@ -85,6 +83,10 @@ Export as ICS + + {{#unless editingEnabled}} + + {{/unless}} @@ -103,12 +105,12 @@ - + {{/if}}
-
About
+
About
{{{parsedDescription}}}
@@ -268,7 +270,7 @@ window.groupData = {{{ json jsonData }}}; if (urlParams.has('show_edit')) { $('#editModal').modal('show'); - url.searchParams.delete('show_edit'); + url.searchParams.delete('show_edit'); history.replaceState(history.state, '', url.href); } @@ -339,4 +341,4 @@ window.groupData = {{{ json jsonData }}}; }); - \ No newline at end of file + -- cgit v1.2.3