grav-plugin-admin
grav-plugin-admin copied to clipboard
(two bugs) Even after saving a page, switching languages generates a warning
First bug - warning is generated
To reproduce:
- Edit a page.
- Click "Save".
- Switch the language
BUG: The warning, "Do you want to leave this site? Changes you made may not be saved." will appear. Clicking "Leave" continues. (Should not prompt since page is saved.)
Second bug - can no longer switch languages
To reproduce:
- Edit a page.
- Click "Save".
- Switch the language
- The warning, "Do you want to leave this site? Changes you made may not be saved."
- Click "Stay"
- Now, try to switch the language
BUG: No warning appears, nor does it navigate to the other language. Page has to be refreshed before the language switcher works again.
Replicated both problems. Problem 1) happens only with multilang enabled, so it must be caused by that.
Weird as it's not the "usual" panel for unsaved changes:
but it's the browser directly:
+1 same issue
Same issue. It happens when I'm on the Configuration > Languages page (and changes are indeed not saved).