We have a sensitive page for which we want to be notified of any change. However, when users edit the page, they can untick the "Notify watchers" box to disable notifications.
We would like to be able to remove this checkbox for certain pages. Is there any facility for doing so?
I have seen this article which describes how to add javascript to the page to modify this box. Is that the best workaround available?
We are using Confluence 5.2
Thanks,
Rich
Yes, you will have to use JavaScript to do it. You could simply hide the checkbox(since it is checked by default). However, keep in mind that this won't stop people who are really determined and have some html/js skills. If you want to do it for multiple pages you would probably want to define an array of pages and if the page you are currently editing is in the array then hide the checkbox ... otherwise move on.
You should also maybe check out the Speakeasy plugin for Confluence. It gives you the ability to more easily segment your custom JS into extensions. You can even as an administrator globally assign an extension so that it is turned on for all users and they cannot turn it off. I'm considering porting all of our custom JS to Speakeasy extensions. Speakeasy can only do html/js/css, but coupled with the AJAX API's you can do a lot with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.