dist/jquery.fancytree-all-deps.js
function(ctx, callOpts) {
				// TODO: return promise?
				var ac,
					i,
					l,
					node = ctx.node;

				if (node.parent) {
					ac = node.parent.children;
					for (i = 0, l = ac.length; i < l; i++) {
						if (ac[i] !== node && ac[i].expanded) {
							this._callHook(
								"nodeSetExpanded",
								ac[i],
								false,
								callOpts
							);
						}
					}
				}
			}
function(ctx, callOpts) {
				// TODO: return promise?
				var ac,
					i,
					l,
					node = ctx.node;

				if (node.parent) {
					ac = node.parent.children;
					for (i = 0, l = ac.length; i < l; i++) {
						if (ac[i] !== node && ac[i].expanded) {
							this._callHook(
								"nodeSetExpanded",
								ac[i],
								false,
								callOpts
							);
						}
					}
				}
			}
function ( ctx , callOpts ) { // TODO: return promise? var ac , i , l , node = ctx . node ; if ( node . parent ) { ac = node . parent . children ; for ( i = 0 , l = ac . length ; i < l ; i ++ ) { if ( ac [ i ] !== node && ac [ i ] . expanded ) { this . _callHook ( "nodeSetExpanded" , ac [ i ] , false , callOpts ) ; } } } }
Collapse all other  children of same parent.

@param {EventData} ctx
@param {object} callOpts
Collapse all other children of same parent .