From 9aa4a44b2a2e7b79a2ce46518e94e0091149f57d Mon Sep 17 00:00:00 2001 From: Mark Reeves Date: Wed, 3 May 2023 15:50:20 -0400 Subject: [PATCH] FIX: Fix syntax for some buttons following recent updates (#159) --- ...plugins-discourse-subscriptions-products-show-plans-show.hbs | 2 +- assets/javascripts/discourse/templates/subscribe/show.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs index 783bf5f..4277a54 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs @@ -89,7 +89,7 @@ @type="checkbox" name="recurring" @checked={{model.plan.isRecurring}} - {{on "change" this.changeRecurring}} + {{on "change" (action "changeRecurring")}} /> {{/if}}

diff --git a/assets/javascripts/discourse/templates/subscribe/show.hbs b/assets/javascripts/discourse/templates/subscribe/show.hbs index 70ab0d9..9d45f23 100644 --- a/assets/javascripts/discourse/templates/subscribe/show.hbs +++ b/assets/javascripts/discourse/templates/subscribe/show.hbs @@ -40,7 +40,7 @@