1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 15:14:31 +01:00
gitea/public/js
Gerben 2dc6f15eca Don't warn users about *every* dirty form (#3707)
The choice regarding which forms should or should not trigger a warning
is subjective. I tried to be consistent and not warn about forms that:
 - run an action, rather than edit data: search, send an email.
 - delete data: a warning about losing data would be confusing

Note that forms on sign-in pages were already ignored (using a selector,
rather than an explicit class on the form element).

Fixes #3698.
2018-03-23 22:10:42 +08:00
..
draw.js add scroolbars to wide graphs. (#608) 2017-01-22 20:10:01 +08:00
index.js Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00