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