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]
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, a small correction :
<script type="text/javascript"> AJS.toInit(function () { AJS.$('#minorEdit').attr('checked', false); }); </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this necessary in confluence 4.2 ?
(the other script is definetly working in 4.1)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Svenni, I did test it with Confluence 3.5, and there "notifywatchers" got me an error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.