Disable NotifyWatchers notification

andrea schneider 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

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 July 17, 2018

This was fast, thank you very much Pavel!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events