rem: debug("base URL = " + HTTPIndex.BaseURL + "\n"); tree.setAttribute('ref', HTTPIndex.BaseURL); 
add: var baseURI = HTTPIndex.BaseURL;    if (baseURI && (baseURI.indexOf("ftp: (baseURI.substr(baseURI.length - 1) != "/")) { debug("append traiing slash to FTP directory URL\n"); baseURI += "/"; } debug("base URL = " + baseURI + "\n"); tree.setAttribute("ref", baseURI); 
context: function Init(){    debug("directory.js: Init()\n");    // Add the HTTPIndex datasource into the tree    var tree = document.getElementById('tree');    // Initialize the tree's base URL to whatever the HTTPIndex is rooted at    debug("base URL = " + HTTPIndex.BaseURL + "\n");    tree.setAttribute('ref', HTTPIndex.BaseURL);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/012bf530792c788b0f603d9a01c41b79a7e94d98/directory.js/clean/xpfe/components/directory/directory.js