Ghost/ghost/admin/app/mixins
Kevin Ansfield 414718a1cc 🐛 Fixed "Someone else is editing" errors showing when no-one else is editing (#901)
closes https://github.com/TryGhost/Ghost/issues/8969

Collision detection errors were appearing incorrectly because the save routines in the post settings menu bypass the sequential saves in the main editor controller and so are prone to having stale data if a previous save is still in progress.

- added a new `savePost` task that is part of the `saveTasks` group so that all post saves are sequential
- pass the `savePost` task to the `{{gh-post-settings-menu}}` component
- use `savePost` task in `gh-post-settings-menu` instead of calling `save()` directly on the model instance
2017-11-02 09:47:52 +00:00
..
body-event-listener.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
current-user-settings.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
dropdown-mixin.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
editor-base-controller.js 🐛 Fixed "Someone else is editing" errors showing when no-one else is editing (#901) 2017-11-02 09:47:52 +00:00
editor-base-route.js 🐛 Fixed incorrect autosave of published posts when leaving editor (#879) 2017-09-28 14:53:22 +02:00
pagination.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
settings-menu-component.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
shortcuts-route.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
shortcuts.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
slug-url.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
style-body.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
text-input.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
unauthenticated-route-mixin.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
validation-engine.js 🎨 Enabled Unsplash integration by default (#862) 2017-09-20 12:19:48 +02:00
validation-state.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00