mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Updated ember action usage
This commit is contained in:
parent
18c54c40c2
commit
31b4d34b90
@ -1010,3 +1010,4 @@ remove|ember-template-lint|no-action|50|35|50|35|7432725bd18c48f69bf22dc9487d14d
|
||||
remove|ember-template-lint|no-passed-in-event-handlers|33|28|33|28|5b371baf419f247953b91b626611cb831c524af3|1662681600000|1673053200000|1678237200000|app/templates/signin.hbs
|
||||
remove|ember-template-lint|no-passed-in-event-handlers|50|28|50|28|40caf07c7cebf6f4321c5b7e7f2f426b5c30217b|1662681600000|1673053200000|1678237200000|app/templates/signin.hbs
|
||||
remove|ember-template-lint|require-iframe-title|1|0|1|0|d1c9631d150af53ca33b16c8c280c9d815bf43da|1662681600000|1673053200000|1678237200000|app/components/gh-billing-iframe.hbs
|
||||
remove|ember-template-lint|no-action|27|42|27|42|b60a8d95bc6d0e8c9f57d46647ab18947415d9dc|1662681600000|1673053200000|1678237200000|app/templates/settings/labs.hbs
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
<div class="modal-body">
|
||||
{{#if (eq this.state 'INIT')}}
|
||||
<ModalImportContent::ContentFileSelect @setFile={{action "setFile"}} />
|
||||
<ModalImportContent::ContentFileSelect @setFile={{this.setFile}} />
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq this.state 'PROCESSING')}}
|
||||
@ -52,10 +52,10 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq this.state 'UPLOADING')}}
|
||||
<button class="gh-btn disabled" disabled="disabled" data-test-button="restart-import-content" type="button" {{action "reset"}}>
|
||||
<button class="gh-btn disabled" disabled="disabled" data-test-button="restart-import-content" type="button" {{on "click" this.reset}}>
|
||||
<span>Start over</span>
|
||||
</button>
|
||||
<button class="gh-btn gh-btn-green gh-btn-icon disabled" disabled="disabled" type="button" {{action "upload"}}>
|
||||
<button class="gh-btn gh-btn-green gh-btn-icon disabled" disabled="disabled" type="button" {{on "click" this.upload}}>
|
||||
<span>{{svg-jar "spinner" class="gh-icon-spinner"}} {{this.runningText}}Uploading</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
@ -68,7 +68,7 @@
|
||||
|
||||
{{#if (eq this.state 'ERROR')}}
|
||||
{{#if this.showTryAgainButton}}
|
||||
<button class="gh-btn" data-test-button="restart-import-content" type="button" {{action "reset"}}>
|
||||
<button class="gh-btn" data-test-button="restart-import-content" type="button" {{on "click" this.reset}}>
|
||||
<span>Try again</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user