Skip to content

Instantly share code, notes, and snippets.

<!--
Original snippet is from
http://www.communardo.de/home/techblog/2011/05/02/improve-the-confluence-pagetree-macro-functionality/
-->
<script type="text/javascript" >
AJS.toInit(function ($) {
var currentChildClicked = false;
AJS.bind("pagetree-children-loaded", function() {
if(!currentChildClicked) {