Ghost/ghost/admin/app/templates
Kevin Ansfield 4c5144cb61 🐛 Fixed close button on "unsaved changes" modal not always behaving like "Stay" button
no issue

The close button in the unsaved changes modal used the `@close` action directly compared to the "Stay" button which used `(fn @close false)`. The close button version without explicit arguments resulted in the first argument being a `PointerEvent` instance which if checked as a modal return value as `if (shouldClose)` would evaluate as truthy therefore matching the "Leave" behaviour instead of the "Stay" behaviour.

- changed modal to explicitly call `(fn @close false)` when the close button is clicked
- updated design settings route to have an explicit `shouldLeave === true` check so default behaviour is always "Stay"
2022-04-14 12:39:10 +01:00
..
editor Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
members Added new members CSV importer (#1797) 2020-12-10 01:02:31 +05:30
settings Added sender email verification flow for newsletters 2022-04-13 19:34:58 +01:00
setup Updated the copy for All Done screen 2022-03-10 11:50:35 +00:00
-contributors.hbs 🐛 fix broken assets (#616) 2017-04-05 14:08:15 +01:00
application-error.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
application.hbs Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
dashboard.hbs Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
designsandbox.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
editor.hbs [chore] run the no-implicit-this codemod (#2244) 2022-02-02 17:09:02 +00:00
error.hbs Fixed 404 code alignment 2021-07-08 15:42:46 +02:00
launch.hbs Updated launch wizard to create custom price 2021-05-04 21:42:48 +05:30
member.hbs 🎨 Updated Member page layout (#2271) 2022-03-01 15:57:57 +01:00
members-activity.hbs Tweaked visual things for polish with Activity 2022-03-10 15:24:38 +00:00
members.hbs 🐛 Fixed duplicate email open rate column when filtering members by open rate 2022-03-17 09:29:15 +00:00
offer.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
offers.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
pages-loading.hbs [chore] run the no-implicit-this codemod (#2244) 2022-02-02 17:09:02 +00:00
pages.hbs Updated empty states for posts, pages, and tags 2022-02-09 09:34:12 +01:00
posts-loading.hbs [chore] run the no-implicit-this codemod (#2244) 2022-02-02 17:09:02 +00:00
posts.hbs Hid email related ui when subscription access is set to 'Nobody' 2022-02-11 09:29:11 +01:00
reset.hbs 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
settings.hbs 🐛 Fixed close button on "unsaved changes" modal not always behaving like "Stay" button 2022-04-14 12:39:10 +01:00
setup.hbs 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
signin.hbs Fixed linter error 2022-03-09 12:24:36 +00:00
signup.hbs Fixed linter error 2022-03-09 12:24:36 +00:00
site.hbs Added reset-to-homepage behaviour when clicking "view site" link 2019-03-21 17:55:58 +00:00
tag.hbs Fixed duplicate top-level properties after native class codemod 2022-02-10 10:20:03 +00:00
tags-loading.hbs Fixed tags loading screen UI bug 2021-03-05 10:19:37 +01:00
tags.hbs Updated empty states for posts, pages, and tags 2022-02-09 09:34:12 +01:00
whatsnew.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00