diff -r 68c9a7017b11 MoinMoin/PageEditor.py
--- a/MoinMoin/PageEditor.py	Thu Nov 29 22:16:38 2007 +0100
+++ b/MoinMoin/PageEditor.py	Fri Nov 30 22:13:12 2007 +0200
@@ -392,6 +392,26 @@ If you don't want that, hit '''%(cancel_
 <input type="hidden" name="editor" value="text">
 ''' % (button_spellcheck, cancel_button_text,))
 
+        # Trivial Change-checkbox to the top of the page, shows up only if user has JavaScript enabled. It's "linked" with the bottom's box (checking one checks both)
+        if self.cfg.mail_enabled:
+            request.write('''
+<script type="text/javascript">
+    <!--
+    function toggle_trivial(CheckedBox)
+    {
+        TrivialBoxes = document.getElementsByName("trivial");
+        for (var i = 0; i < TrivialBoxes.length; i++)
+            TrivialBoxes[i].checked = CheckedBox.checked;
+    }
+
+    document.write('<input type="checkbox" name="trivial" id="chktrivial" value="1" %(checked)s onclick="toggle_trivial(this)">');
+    document.write('<label for="chktrivial">%(label)s</label>');
+    //-->
+</script> ''' % {
+                'checked': ('', 'checked')[form.get('trivial', ['0'])[0] == '1'],
+                'label': _("Trivial change", formatted=False),
+            })
+
         from MoinMoin.security.textcha import TextCha
         request.write(TextCha(request).render())
 
@@ -433,8 +453,11 @@ If you don't want that, hit '''%(cancel_
         if self.cfg.mail_enabled:
             request.write('''
 &nbsp;
-<input type="checkbox" name="trivial" id="chktrivial" value="1" %(checked)s>
-<label for="chktrivial">%(label)s</label> ''' % {
+
+<input type="checkbox" name="trivial" id="chktrivial" value="1" %(checked)s onclick="toggle_trivial(this)">
+<label for="chktrivial">%(label)s</label>
+
+''' % {
                 'checked': ('', 'checked')[form.get('trivial', ['0'])[0] == '1'],
                 'label': _("Trivial change", formatted=False),
                 })
diff -r 68c9a7017b11 MoinMoin/PageGraphicalEditor.py
--- a/MoinMoin/PageGraphicalEditor.py	Thu Nov 29 22:16:38 2007 +0100
+++ b/MoinMoin/PageGraphicalEditor.py	Fri Nov 30 22:13:12 2007 +0200
@@ -285,7 +285,23 @@ If you don't want that, hit '''%(cancel_
 <input class="button" type="submit" name="button_cancel" value="%s">
 <input type="hidden" name="editor" value="gui">
 ''' % (button_spellcheck, cancel_button_text,))
-
+        if self.cfg.mail_enabled:
+            request.write('''
+<script type="text/javascript">
+    function toggle_trivial(CheckedBox)
+    {
+        TrivialBoxes = document.getElementsByName("trivial");
+        for (var i = 0; i < TrivialBoxes.length; i++)
+            TrivialBoxes[i].checked = CheckedBox.checked;
+    }
+</script>
+&nbsp;
+<input type="checkbox" name="trivial" id="chktrivial" value="1" %(checked)s onclick="toggle_trivial(this)">
+<label for="chktrivial">%(label)s</label>
+''' % {
+                'checked': ('', 'checked')[form.get('trivial', ['0'])[0] == '1'],
+                'label': _("Trivial change", formatted=False),
+            })
         from MoinMoin.security.textcha import TextCha
         request.write(TextCha(request).render())
 
@@ -359,7 +375,7 @@ If you don't want that, hit '''%(cancel_
         if self.cfg.mail_enabled:
             request.write('''
 &nbsp;
-<input type="checkbox" name="trivial" id="chktrivial" value="1" %(checked)s>
+<input type="checkbox" name="trivial" id="chktrivial" value="1" %(checked)s onclick="toggle_trivial(this)">
 <label for="chktrivial">%(label)s</label> ''' % {
                 'checked': ('', 'checked')[form.get('trivial', ['0'])[0] == '1'],
                 'label': _("Trivial change", formatted=False),
