mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Commented out unexpected save each time publish menu is closed
refs 107ed0e1f3
- save shouldn't be happening here as it means unexpected changes could be saved to published posts without the user's consent
- save is related to a labs feature so it should have been behind a labs flag
This commit is contained in:
parent
8d0bbe142c
commit
b6f973e5a6
@ -454,6 +454,9 @@ export default Component.extend({
|
||||
|
||||
this.post.set('statusScratch', null);
|
||||
this.post.validate();
|
||||
this.post.save();
|
||||
// TODO: confirm with Naz why this is needed and find a different solution
|
||||
// - we shouldn't be saving post data every time the menu is closed,
|
||||
// especially when the user has chosen to cancel/close the menu without saving
|
||||
// this.post.save();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user