1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/mixins
Kevin Ansfield baac2db056 🐛 fix Cmd-S save with cursor in slug field
closes https://github.com/TryGhost/Ghost/issues/8551
- move `updateSlug` logic from `gh-post-settings-menu` component to `editor-base-controller` mixin
- put `updateSlug` and `save` into a task group so that concurrent calls are queued - means that pressing Cmd-S with the cursor still in the slug field will first trigger the `updateSlug` call (triggered by the field blur) then trigger the `save` call (triggered by Cmd-S) when `updateSlug` has finished so there are no conflicts and you still see the "saved" notification
2017-06-13 16:04:09 +01:00
..
body-event-listener.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
current-user-settings.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
dropdown-mixin.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
editor-base-controller.js 🐛 fix Cmd-S save with cursor in slug field 2017-06-13 16:04:09 +01:00
editor-base-route.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
infinite-scroll.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
pagination.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
settings-menu-component.js 🎨 convert post-settings-menu into a component (#137) 2017-03-10 14:30:01 +00:00
shortcuts-route.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
shortcuts.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
slug-url.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
style-body.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
text-input.js auto-expanding editor title input (#699) 2017-05-18 17:01:30 +09:00
unauthenticated-route-mixin.js 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
validation-engine.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
validation-state.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00