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