0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/client/templates
Matt Enlow 1421550a06 PostSettingsMenu: Don't save new posts, reset values on failure
Closes #3158, Closes #3143, Closes #3134
- Added `model.rollback()` when PSM fails to save.
- Added `showErrors` and `showSuccess` helper functions to PSM to abstract
  closing and showing of notifications.
- Added `togglePage` action to indirect the setting of `page`.
- Removed `isStaticPage` property in favor of `togglePage` action
- moved `updateSlug` error catching to outer promise (slugGenerator promise)
- modifying the `page` and `published_at` properties will no longer cause a new post to save
- Close passive notifications on published date parse fail
- Removed promise creation in catch statements

- Changed tests to click on label, rather than the input for
  .post-setting-static-page.
2014-07-02 15:29:15 -06:00
..
components Finish Debug screen for Ember admin 2014-06-25 04:36:17 +00:00
editor Implement Mobile Editor 2014-06-24 18:33:43 -04:00
modals Ember Admin - Upload Modal 2014-06-17 16:18:32 -04:00
posts Stay on posts.index route when no posts exist 2014-06-25 14:56:41 +00:00
settings Uncomment signin validation test + test cleanup 2014-06-24 12:17:40 +01:00
-floating-header.hbs Cleanup Misc Ember Code 2014-06-17 14:59:15 -06:00
-navbar.hbs oAuth 2014-06-30 14:58:10 +02:00
-publish-bar.hbs Ensure incomplete tags aren't lost on save 2014-06-24 12:14:27 +02:00
application.hbs
debug.hbs Finish Debug screen for Ember admin 2014-06-25 04:36:17 +00:00
editor-save-button.hbs
error.hbs Add error template, route and controller 2014-06-24 23:33:02 +01:00
forgotten.hbs Add validation for signin/signup 2014-06-23 21:17:57 -05:00
post-settings-menu.hbs PostSettingsMenu: Don't save new posts, reset values on failure 2014-07-02 15:29:15 -06:00
post-tags-input.hbs Ensure incomplete tags aren't lost on save 2014-06-24 12:14:27 +02:00
posts.hbs Mobile Interactions 2014-06-24 18:33:59 -04:00
reset.hbs
settings.hbs Mobile Interactions 2014-06-24 18:33:59 -04:00
setup.hbs New setup screen for blog installation. 2014-06-26 15:31:44 +02:00
signin.hbs oAuth 2014-06-30 14:58:10 +02:00
signup.hbs Add validation for signin/signup 2014-06-23 21:17:57 -05:00