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

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

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

目的

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

ソリューション

  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
最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.