From 36ae3427ecda15263047eb56ee420d1916d47d21 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Thu, 30 Jan 2025 12:31:40 +0100 Subject: [PATCH] fix name+full_text caching bug --- src/pretix/static/pretixpresale/js/widget/widget.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index 430e578387..f456ca4f27 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -1143,6 +1143,11 @@ Vue.component('pretix-widget-event-form', { back_to_list: function() { this.$root.target_url = this.$root.parent_stack.pop(); this.$root.error = null; + if (!this.$root.subevent) { + // reset if we are not in a series + this.$root.name = null; + this.$root.frontpage_text = null; + } this.$root.subevent = null; this.$root.offset = 0; this.$root.append_events = false;