mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Widget: no reload on buttons
This commit is contained in:
@@ -1079,6 +1079,9 @@ var shared_root_methods = {
|
||||
},
|
||||
reload: function () {
|
||||
var url;
|
||||
if (this.$root.is_button) {
|
||||
return;
|
||||
}
|
||||
if (this.$root.subevent) {
|
||||
url = this.$root.target_url + this.$root.subevent + '/widget/product_list?lang=' + lang;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user