-
Notifications
You must be signed in to change notification settings - Fork 5
Errors when using cmd-enter keyboard shortcut #1009
Comments
Got any logs? I can't recreate this. |
Doesn't seem to be throwing any logs... 😕 |
Sounds like file permissions to me then. Try to |
Negative, ghost rider. All |
What's the hint? |
I get that popup if I try to navigate away from the page while the AJAX request is going. Probably the same thing here. |
So CP isn't waiting for the request to finish? |
Feels like a race condition, since it isn't 100% of the time reproducible for me. |
Does stuff work if you click save instead? |
Yessir. But the tax of moving my hand from the keyboard to the mouse is too heavy. 😆 |
BTW, |
Happens to me in |
I was able to do something similar in Chrome, too. see above. |
Expected behaviour
Create a new entry. (Has happened on both taxonomies and entries).
Press cmd-Return to save the entry and return to the collection page.
Actual behaviour
In Safari - Statamic saves the entry, but it throws a js error.
I've also seen some cache corruption occur, where the entry will appear twice in the CP.
In Chrome, saving a taxonomy, the taxonomy collection would not display.
Steps to reproduce
Server configuration
Web server:
local dev with Valet
PHP version:
7
Statamic version:
2.1.12
Logs
If any logs (browser, server, or Statamic) are appropriate...
The text was updated successfully, but these errors were encountered: