mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Widget: Fix waitinglist-URL for subevents (Z#23132845) (#3635)
This commit is contained in:
committed by
GitHub
parent
ab0e26047e
commit
0cbb38f3d4
@@ -1717,11 +1717,10 @@ var shared_root_methods = {
|
||||
});
|
||||
},
|
||||
startwaiting: function () {
|
||||
var redirect_url = this.$root.target_url + 'w/' + widget_id;
|
||||
var redirect_url = this.$root.target_url + 'w/' + widget_id + '/waitinglist/?iframe=1&locale=' + lang;
|
||||
if (this.$root.subevent){
|
||||
redirect_url += '/' + this.$root.subevent;
|
||||
redirect_url += '&subevent=' + this.$root.subevent;
|
||||
}
|
||||
redirect_url += '/waitinglist/?iframe=1&locale=' + lang;
|
||||
if (this.$root.useIframe) {
|
||||
var iframe = this.$root.overlay.$children[0].$refs['frame-container'].children[0];
|
||||
this.$root.overlay.frame_loading = true;
|
||||
|
||||
Reference in New Issue
Block a user