diff --git a/app/assets/javascripts/admin/addon/components/admin-penalty-similar-users.hbs b/app/assets/javascripts/admin/addon/components/admin-penalty-similar-users.hbs index a22434b17ed..10c485bc4d2 100644 --- a/app/assets/javascripts/admin/addon/components/admin-penalty-similar-users.hbs +++ b/app/assets/javascripts/admin/addon/components/admin-penalty-similar-users.hbs @@ -28,7 +28,7 @@ {{avatar user imageSize="small"}} {{user.username}} diff --git a/app/assets/javascripts/admin/addon/components/admin-report-table.hbs b/app/assets/javascripts/admin/addon/components/admin-report-table.hbs index 23e147f367b..76dd1aeb636 100644 --- a/app/assets/javascripts/admin/addon/components/admin-report-table.hbs +++ b/app/assets/javascripts/admin/addon/components/admin-report-table.hbs @@ -8,7 +8,7 @@ @currentSortDirection={{this.sortDirection}} @currentSortLabel={{this.sortLabel}} @label={{label}} - @sortByLabel={{action "sortByLabel" label}} + @sortByLabel={{fn this.sortByLabel label}} /> {{/each}} {{else}} diff --git a/app/assets/javascripts/admin/addon/components/admin-theme-editor.hbs b/app/assets/javascripts/admin/addon/components/admin-theme-editor.hbs index 24abd75eb06..d396dbbb93d 100644 --- a/app/assets/javascripts/admin/addon/components/admin-theme-editor.hbs +++ b/app/assets/javascripts/admin/addon/components/admin-theme-editor.hbs @@ -79,8 +79,8 @@ \ No newline at end of file diff --git a/app/assets/javascripts/admin/addon/components/color-input.hbs b/app/assets/javascripts/admin/addon/components/color-input.hbs index 3687baedeb3..813ad41b466 100644 --- a/app/assets/javascripts/admin/addon/components/color-input.hbs +++ b/app/assets/javascripts/admin/addon/components/color-input.hbs @@ -2,7 +2,7 @@ @class="hex-input" @value={{this.hexValue}} @maxlength={{this.maxlength}} - @input={{action "onHexInput" value="target.value"}} + @input={{this.onHexInput}} /> @@ -14,7 +14,7 @@ diff --git a/app/assets/javascripts/admin/addon/components/permalink-form.hbs b/app/assets/javascripts/admin/addon/components/permalink-form.hbs index 7e2023a90d3..f0c43c110a6 100644 --- a/app/assets/javascripts/admin/addon/components/permalink-form.hbs +++ b/app/assets/javascripts/admin/addon/components/permalink-form.hbs @@ -25,7 +25,7 @@ @placeholderKey={{this.permalinkTypePlaceholder}} @autocorrect="off" @autocapitalize="off" - @keyDown={{action "submitFormOnEnter"}} + @keyDown={{this.submitFormOnEnter}} /> {{#if this.showUpDownButtons}} diff --git a/app/assets/javascripts/admin/addon/components/themes-list.hbs b/app/assets/javascripts/admin/addon/components/themes-list.hbs index 8513c86d508..706273f75fd 100644 --- a/app/assets/javascripts/admin/addon/components/themes-list.hbs +++ b/app/assets/javascripts/admin/addon/components/themes-list.hbs @@ -34,7 +34,7 @@ {{#each this.activeThemes as |theme|}} {{/each}} @@ -106,7 +106,7 @@ {{/each}} diff --git a/app/assets/javascripts/discourse/app/components/modal/bookmark.hbs b/app/assets/javascripts/discourse/app/components/modal/bookmark.hbs index eaa9a86e92e..30f3fddb798 100644 --- a/app/assets/javascripts/discourse/app/components/modal/bookmark.hbs +++ b/app/assets/javascripts/discourse/app/components/modal/bookmark.hbs @@ -62,7 +62,7 @@ - + {{#if this.showDelete}}