Usability of "Minor Change" checkbox.

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

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>

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>

Hi, a small correction :

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

Is this necessary in confluence 4.2 ?

(the other script is definetly working in 4.1)

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

355 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you