forked from CGM_Public/pretix_original
Send widget_data when opening waiting list (#1502)
This commit is contained in:
committed by
Raphael Michel
parent
8d5b4d190c
commit
2eb92bef9b
@@ -218,9 +218,9 @@ Vue.component('availbox', {
|
|||||||
},
|
},
|
||||||
waiting_list_url: function () {
|
waiting_list_url: function () {
|
||||||
if (this.item.has_variations) {
|
if (this.item.has_variations) {
|
||||||
return this.$root.target_url + 'w/' + widget_id + '/waitinglist/?item=' + this.item.id + '&var=' + this.variation.id;
|
return this.$root.target_url + 'w/' + widget_id + '/waitinglist/?item=' + this.item.id + '&var=' + this.variation.id + '&widget_data=' + escape(this.$root.widget_data_json);
|
||||||
} else {
|
} else {
|
||||||
return this.$root.target_url + 'w/' + widget_id + '/waitinglist/?item=' + this.item.id;
|
return this.$root.target_url + 'w/' + widget_id + '/waitinglist/?item=' + this.item.id + '&widget_data=' + escape(this.$root.widget_data_json);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user