public/dashboard/bower_components/fancytree/dist/jquery.fancytree-all.js
function(ctx, flag) {
		// ctx.node.debug("nodeSetFocus(" + flag + ")");
		var ctx2,
			tree = ctx.tree,
			node = ctx.node;

		flag = (flag !== false);

		// Blur previous node if any
		if(tree.focusNode){
			if(tree.focusNode === node && flag){
				// node.debug("nodeSetFocus(" + flag + "): nothing to do");
				return;
			}
			ctx2 = $.extend({}, ctx, {node: tree.focusNode});
			tree.focusNode = null;
			this._triggerNodeEvent("blur", ctx2);
			this._callHook("nodeRenderStatus", ctx2);
		}
		// Set focus to container and node
		if(flag){
			if( !this.hasFocus() ){
				node.debug("nodeSetFocus: forcing container focus");
				// Note: we pass _calledByNodeSetFocus=true
				this._callHook("treeSetFocus", ctx, true, true);
			}
			// this.nodeMakeVisible(ctx);
			node.makeVisible({scrollIntoView: false});
			tree.focusNode = node;
//			node.debug("FOCUS...");
//			$(node.span).find(".fancytree-title").focus();
			this._triggerNodeEvent("focus", ctx);
//          if(ctx.options.autoActivate){
//              tree.nodeSetActive(ctx, true);
//          }
			if(ctx.options.autoScroll){
				node.scrollIntoView();
			}
			this._callHook("nodeRenderStatus", ctx);
		}
	}
function(ctx, flag) {
		// ctx.node.debug("nodeSetFocus(" + flag + ")");
		var ctx2,
			tree = ctx.tree,
			node = ctx.node;

		flag = (flag !== false);

		// Blur previous node if any
		if(tree.focusNode){
			if(tree.focusNode === node && flag){
				// node.debug("nodeSetFocus(" + flag + "): nothing to do");
				return;
			}
			ctx2 = $.extend({}, ctx, {node: tree.focusNode});
			tree.focusNode = null;
			this._triggerNodeEvent("blur", ctx2);
			this._callHook("nodeRenderStatus", ctx2);
		}
		// Set focus to container and node
		if(flag){
			if( !this.hasFocus() ){
				node.debug("nodeSetFocus: forcing container focus");
				// Note: we pass _calledByNodeSetFocus=true
				this._callHook("treeSetFocus", ctx, true, true);
			}
			// this.nodeMakeVisible(ctx);
			node.makeVisible({scrollIntoView: false});
			tree.focusNode = node;
//			node.debug("FOCUS...");
//			$(node.span).find(".fancytree-title").focus();
			this._triggerNodeEvent("focus", ctx);
//          if(ctx.options.autoActivate){
//              tree.nodeSetActive(ctx, true);
//          }
			if(ctx.options.autoScroll){
				node.scrollIntoView();
			}
			this._callHook("nodeRenderStatus", ctx);
		}
	}
function ( ctx , flag ) { // ctx.node.debug("nodeSetFocus(" + flag + ")"); var ctx2 , tree = ctx . tree , node = ctx . node ; flag = ( flag !== false ) ; // Blur previous node if any if ( tree . focusNode ) { if ( tree . focusNode === node && flag ) { // node.debug("nodeSetFocus(" + flag + "): nothing to do"); return ; } ctx2 = $ . extend ( { } , ctx , { node : tree . focusNode } ) ; tree . focusNode = null ; this . _triggerNodeEvent ( "blur" , ctx2 ) ; this . _callHook ( "nodeRenderStatus" , ctx2 ) ; } // Set focus to container and node if ( flag ) { if ( ! this . hasFocus ( ) ) { node . debug ( "nodeSetFocus: forcing container focus" ) ; // Note: we pass _calledByNodeSetFocus=true this . _callHook ( "treeSetFocus" , ctx , true , true ) ; } // this.nodeMakeVisible(ctx); node . makeVisible ( { scrollIntoView : false } ) ; tree . focusNode = node ; //			node.debug("FOCUS..."); //			$(node.span).find(".fancytree-title").focus(); this . _triggerNodeEvent ( "focus" , ctx ) ; //          if(ctx.options.autoActivate){ //              tree.nodeSetActive(ctx, true); //          } if ( ctx . options . autoScroll ) { node . scrollIntoView ( ) ; } this . _callHook ( "nodeRenderStatus" , ctx ) ; } }
Focus ot blur this node.
@param {EventData} ctx
@param {boolean} [flag=true]
Focus ot blur this node .