How to make Notify Watchers in Edit page mode to be unchecked by default?

Gregory Kneller
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.
October 1, 2012

Hi mates, can you please advise with the subject? Thanks!

4 answers

1 accepted

5 votes
Answer accepted
Alejandro Conde Carrillo
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.
October 1, 2012

You could try to add this code to your custom HTML (in the dead section)

 
<script>
  AJS.toInit(function(){
    <!-- Disable "notifyWatchers" checkbox by default (on edit pages only) -->
    AJS.$('input#notifyWatchers').attr('checked', false);
  });
</script>

All credit should go to this page.

Gregory Kneller
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.
October 2, 2012

Hi Alex, so it is only on global level... Thank you for the anwer))

1 vote
Richard Meadows June 19, 2014

do you need to restart Confluence for this to work?

0 votes
David Hergert _PAYX_ January 13, 2015

There is a small piece of JavaScript you can add to your HTML header that will 'remember' if you uncheck the box for a few hours using a cookie. We love it this way, since it allows us to disable it, but it re-enables after a few hours in the spirit of open communication and sharing.

https://confluence.atlassian.com/display/CONFKB/How+to+uncheck+Notify+watchers+check+box+on+Confluence+editor+by+default?focusedCommentId=397083416#comment-397083416

0 votes
ThreepE0 October 28, 2014

I needed to place this at the end of the body section for it to work for both direct and linked access to edit pages.  Worked great, thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events