TreeController.prototype.getPathFromLi = function()

in src/main/resources/SLING-INF/libs/sling/resource-editor/static/js/tree/TreeController.js [184:193]


	TreeController.prototype.getPathFromLi = function(li){
		var path = $(li).parentsUntil(this.settings.treeAndPropsSelector).andSelf().map(
				function() {
					return this.tagName == "LI"
							? $(this).attr("nodename") 
							: null;
				}
			).get().join("/");
		return "" == path ? "/" : path;
	};