From 65db8cd583eb4c9dbef00bdae9d82cfab4cb0d63 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 13 Feb 2020 09:58:08 +0100 Subject: [PATCH] Widget: Pass referer to cart session --- src/pretix/static/pretixpresale/js/widget/widget.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index 4662b71041..d61abf1aaa 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -5,7 +5,9 @@ window.PretixWidget = { 'build_widgets': true, - 'widget_data': {} + 'widget_data': { + 'referer': location.href + } }; var Vue = module.exports;