Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[3.2] Saving via Cmd+S causes Update Entry button to lock #4519
In 3.2, when saving an entry using Cmd+S, you can sometimes get stuck in a Draft with the "Update Entry" button greyed out even though the draft has unpublished changes. You then have to switch to another revision and then back to the draft to publish it.
This does not happen if you only save using the Update Entry button - I believe this happens only if you press Cmd+S while a previous save is still in progress (so if you try to do back-to-back saves quickly).
Steps to reproduce
Craft version: 3.2
I'm also getting this, but just to add to the diagnosis I can also recreate the issue reliably by quickly creating a new post, writing something in a field, CMD+S to save, and then because autosave is already whirring away, I get the Chrome notification to say "Are you sure you want to navigate away from this page?
My reflex has sometimes been to click cancel and at that point, the button greys out, I'm unable to save via that method. The Autosave completes so the content is there, but the flow is ruined somewhat. I wonder if CMD+S should always just cancel the Autosave AJAX, since you're posting a save anyway?
Having issues with this as well. If I create a new entry and try to do "Save and add another" I get the js "are you sure you want to leave" message and the entry doesn't get saved. Now I have to add an entry and just click Save Entry and then click save and create new. Otherwise I have to save, click entries, New entry, etc.