From 2dc6f15eca007105fb6c3972265e6da53696bdf1 Mon Sep 17 00:00:00 2001 From: Gerben Date: Fri, 23 Mar 2018 15:10:42 +0100 Subject: 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. --- templates/explore/code.tmpl | 2 +- templates/explore/search.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/explore') diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl index 6003486213..742ed59442 100644 --- a/templates/explore/code.tmpl +++ b/templates/explore/code.tmpl @@ -2,7 +2,7 @@
{{template "explore/navbar" .}}
-
+
diff --git a/templates/explore/search.tmpl b/templates/explore/search.tmpl index 6f37bcb236..906dd06caf 100644 --- a/templates/explore/search.tmpl +++ b/templates/explore/search.tmpl @@ -15,7 +15,7 @@
- +
-- cgit v1.2.3