mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-21 14:34:39 +01:00
Currently, when editing or deleting a file and the edit/commit form has changes, navigating the file tree will discard all changes without any warning. This PR prevents partial reloading when the edit form has unsaved changes, which will trigger a browser native warning dialog. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>