Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable NotifyWatchers notification

andrea schneider
Contributor
July 17, 2018

Hi

With Confluence 5.8.8 we were used to have this

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

within our Custom HTML to prevent the Watcher notification per default if a page has been changed. With Confluence 6.10.1 this isn't working anymore. Does anyone have an idea how we could get back again this functionality?

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Pavel Potcheptsov
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.
July 17, 2018 edited

I have 6.10 and this Custom HTML works fine:

<script>
function disableWatchers() {
setTimeout(disableWatchers, 1000);
if ( $('#notifyWatchers').attr( "mz" ) != 1) {
setTimeout(function() {$('#notifyWatchers').removeAttr('checked');}, 1000);
$('#notifyWatchers').attr( "mz", 1);
}
}
disableWatchers();
</script>
andrea schneider
Contributor
July 17, 2018

This was fast, thank you very much Pavel!

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events