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, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events