'' : function()

in src/main/resources/SLING-INF/libs/sling/resource-editor/static/js/tree/JSTreeAdapter.js [78:88]


				'url' : function (liJson) {
					// initial call for the root element
					if (liJson.id === '#'){
						var rootPath = thisJSTreeAdapter.treeController.settings.rootPath == null ? "/" : thisJSTreeAdapter.treeController.settings.rootPath;
						return settings.contextPath+"/reseditor"+rootPath+".rootnodes.json";
					} else {
						// the li the user clicked on.
						var li = $('#'+liJson.id);
						return treeController.get_uri_from_li(li,".nodes.json");
					}
				},