How to uncheck "Watch this page" check box on comment editor by default

Still need help?

The Atlassian Community is here for you.

Ask the community

This is considered a customization, therefore it doesn't fall under Atlassian Support Offering. This has been tested in Confluence 5.8.8

Purpose

To have the 'Watch this page' check box unchecked by default when editing a page.

Solution

  1. Navigate to Custom HTML in Confluence Admin (can be found in Browse >> Confluence Admin >> Custom HTML)
  2. Click Edit button
  3. On At end of the HEAD field, put the following javascript snippet

    <script type="text/javascript">
    AJS.bind('init.rte', function() {
      AJS.$('#watchPage').attr('checked', false);
    });
    </script>
    
  4. Click Save, and notice it will be unchecked by default
Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.