0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed publish menu button state not reverting

closes https://github.com/TryGhost/Ghost/issues/11757

- add `autoReset=true` option to task button so that success buttons after switching publish menu state will reset after a few seconds
This commit is contained in:
Kevin Ansfield 2020-04-23 19:51:19 +01:00
parent e887af36d7
commit 9074181461

View file

@ -45,6 +45,7 @@
@taskArgs={{hash dropdown=dd}} @taskArgs={{hash dropdown=dd}}
@successText={{this.successText}} @successText={{this.successText}}
@runningText={{this.runningText}} @runningText={{this.runningText}}
@autoReset={{true}}
@class="gh-btn gh-btn-blue gh-publishmenu-button gh-btn-icon" @class="gh-btn gh-btn-blue gh-publishmenu-button gh-btn-icon"
data-test-publishmenu-save=true data-test-publishmenu-save=true
/> />