page/client/page/pageServices.js
function (page) {
            scope.tree.expanded[page._id] = true;
            page = scope.tree.getByPath(page.path, page._id);
            if (page) {
                page.open = true;
                scope.tree.forEachParentByPath(page.path, page._id, function (parent) {
                    scope.tree.expanded[parent._id] = true;
                    if (!parent.open) parent.open = true;
                });
            }
        }
function (page) {
            scope.tree.expanded[page._id] = true;
            page = scope.tree.getByPath(page.path, page._id);
            if (page) {
                page.open = true;
                scope.tree.forEachParentByPath(page.path, page._id, function (parent) {
                    scope.tree.expanded[parent._id] = true;
                    if (!parent.open) parent.open = true;
                });
            }
        }
function ( page ) { scope . tree . expanded [ page . _id ] = true ; page = scope . tree . getByPath ( page . path , page . _id ) ; if ( page ) { page . open = true ; scope . tree . forEachParentByPath ( page . path , page . _id , function ( parent ) { scope . tree . expanded [ parent . _id ] = true ; if ( ! parent . open ) parent . open = true ; } ) ; } }
Expand given root by expanding all parent nodes *
Expand given root by expanding all parent nodes *