forked from CGM_Public/pretix_original
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 () {
|
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){
|
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) {
|
if (this.$root.useIframe) {
|
||||||
var iframe = this.$root.overlay.$children[0].$refs['frame-container'].children[0];
|
var iframe = this.$root.overlay.$children[0].$refs['frame-container'].children[0];
|
||||||
this.$root.overlay.frame_loading = true;
|
this.$root.overlay.frame_loading = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user