Usability of "Minor Change" checkbox.

Guy Montag September 22, 2011

The "Minor Change (No Notifications will be sent)" check box is a major annoyance that results in 1000s of unecessary spam messages that cause people to ignore said messages.

This could be easily fixed by:

1) Remove the Minor Change checkbox and text

2) Use these action buttonss at the foot of the page:

[Save Only] [Save and Send Notifications] [Cancel]

3 answers

1 accepted

5 votes
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 23, 2011

Assuming this is a question... if you go to confluence admin -> custom html -> at the end of head, and paste in the following, it should do what you want:

<script type="text/javascript">
    AJS.$(function () {
        var minorEdit = AJS.$("#minorEdit");
        if (minorEdit.length) {
            minorEdit.parent().toggle();
            AJS.$("input[type='submit'][name='confirm']").each(function () {
                AJS.$(this).clone().click(function () {
                    AJS.$("#minorEdit").attr('checked', 'true');
                }).val('Save (No notifications)').insertAfter(AJS.$(this));
            })
        }
    });
</script>

3 votes
Sven
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2011

Just for information. We wanted to have the checkbox disabled by default (to prevent accidental SPAMMING ;-)

It's as easy as this (put at the same place like indicated above)

<script type="text/javascript">
AJS.toInit(function () {
  AJS.$('#notifyWatchers').attr('checked', false);
});
</script>

Joerg Bencke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 3, 2012

Hi, a small correction :

<script type="text/javascript">
AJS.toInit(function () {
  AJS.$('#minorEdit').attr('checked', false);
});
</script>
Sven
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2012

Is this necessary in confluence 4.2 ?

(the other script is definetly working in 4.1)

Joerg Bencke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2012

Hi Svenni, I did test it with Confluence 3.5, and there "notifywatchers" got me an error.

1 vote
Sean King
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2013

Confluence v3 requires the box be checked to not notify users as it's asking, "Is this a minor edit?" Therefore:

<script type="text/javascript">
AJS.toInit(function () {
  AJS.$('#minorEdit').attr('checked', true);
});
</script>

Confluence 4.x+ is the opposite, it's asking, "Should I notify people of your change?", therefore you don't want the box checked. The ID for the box is also different.

<script type="text/javascript">
AJS.bind('init.rte', function() {
  AJS.$('#notifyWatchers').attr('checked', false);
});
</script>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events