aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/rsrc/main.js
AgeCommit message (Collapse)AuthorFilesLines
2021-07-09Detect unsaved changes in content editorThomas Lange1-0/+31
This commit adds a bit of JavaScript code to detect unsaved changes in the content editor when trying to leave the page. The browser's default confirmation dialog is shown when unsaved changes are detected. This currently only covers the textarea of the content editor, not the other form fields. There may be a better solution (like LocalStorage), but it works for the moment. I'll add it to my TODO list...
2019-10-29Remove PHP closing tags and add LF to text filesThomas Lange1-1/+1
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
2019-04-26Rename "template" directory to "theme"Thomas Lange1-0/+160
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.