Widget: no reload on buttons

This commit is contained in:
Raphael Michel
2020-02-01 14:16:20 +01:00
parent 62f7c5ba0f
commit 1999a25095

View File

@@ -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 {